You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = RCW_Model()
print(model.DiffractionAmplitude(0))
AttributeError: 'RCW_Model' object has no attribute 'DiffractionAmplitude'
Using print(dir(model)), I can see that the model has DiffractionEfficiency and Direction as possible methods, but no DiffractionAmplitude method. Am I doing something wrong, or has the Jones matrix method been removed?
The text was updated successfully, but these errors were encountered:
In the documentation for the RCW_Model (https://pages.nist.gov/pySCATMECH/rcw.html) and CrossRCW_Model (https://pages.nist.gov/pySCATMECH/crossrcw.html), there is a method for calculating the Jones matrix for a given diffraction order. However, when I try to get the Jones matrix for a default set up, python returns an error:
model = RCW_Model()
print(model.DiffractionAmplitude(0))
AttributeError: 'RCW_Model' object has no attribute 'DiffractionAmplitude'
Using print(dir(model)), I can see that the model has DiffractionEfficiency and Direction as possible methods, but no DiffractionAmplitude method. Am I doing something wrong, or has the Jones matrix method been removed?
The text was updated successfully, but these errors were encountered: