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?
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?