-
Notifications
You must be signed in to change notification settings - Fork 15
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
Roll-your-own source spectra don't work as described #28
Comments
OpticalSystem has this functionality; just need to pass |
Addressed in commit b28162c but needs testing. |
Did you push after committing? I'm not seeing it |
This was a commit to poppy/instrument.py not anything in webbpsf. |
ahh right 👍 |
Seems to be working for Kyle; will open issue on POPPY to add test for this. |
This was referenced Aug 23, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs say source spectra can be provided a variety of ways, but it looks like options 2 and 3 are not currently functional. We should update the docs and/or POPPY.
Reported by @kvangorkom.
To reproduce:
Run this code and note the output. Specifically, the part that says
Pysynphot unavailable (or invalid source supplied)! Assuming flat # of counts versus wavelength.
It looks like
poppy/instrument.py
line 611 (_getWeights
) is the section of interest in poppy.Output:
The text was updated successfully, but these errors were encountered: