Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Calculate Jones matrices with RCW and CrossRCW models #6

Open
jdavis712 opened this issue Oct 5, 2023 · 0 comments
Open

Cannot Calculate Jones matrices with RCW and CrossRCW models #6

jdavis712 opened this issue Oct 5, 2023 · 0 comments

Comments

@jdavis712
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant