-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add galsim.EmissionLine #1249
Add galsim.EmissionLine #1249
Conversation
33b454d
to
d2c16fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions. Also, I think we had a few places in the code where we hand-make an SED that is basically an EmissionLine. It would be nice to replace these with the new class.
galsim/sed.py
Outdated
|
||
Parameters: | ||
wavelength: The wavelength of the line. | ||
fwhm: The full-width-half-max of the line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably have default too, I think. 1 nm or something.
fwhm: The full-width-half-max of the line. | ||
flux: The integrated flux of the line. [default: 1.0] | ||
wave_type: The units of wavelength used for this SED. See SED | ||
constructor for options. [default: 'nm'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is just for fwhm. Maybe mention that here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's for both the wavelength
and fwhm
arguments. I'll clarify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course. Yes, wavelength too. :)
d2c16fb
to
cb0f508
Compare
No description provided.