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

GaussianSource incorrect when total flux is given in magnitude #25

Open
pllim opened this issue Nov 30, 2016 · 0 comments
Open

GaussianSource incorrect when total flux is given in magnitude #25

pllim opened this issue Nov 30, 2016 · 0 comments
Labels

Comments

@pllim
Copy link
Collaborator

pllim commented Nov 30, 2016

https://pysynphot.readthedocs.io/en/latest/spectrum.html#gaussian-emission example is wrong. The constructor of GaussianSource does not handle unit conversion properly when flux is in magnitude.

@pllim pllim added the bug label Nov 30, 2016
@pllim pllim changed the title GaussianSource incorrect when total flux is in magnitude GaussianSource incorrect when total flux is given in magnitude Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant