Closed jmeyers314 closed 11 months ago
I'd suggest a subclass. galsim.EmissionLine
maybe. For now we could just have it do the above given a center wavelength, equivalent width, and maybe something to say how sharp it is. (E.g. FWHM, which could default to 1 nm as above.) If the sawtooth shape isn't good enough for some purposes, we could let people extend this later to have other line shapes, but probably no strong impetus to do anything complicated yet.
Done. #1249
Just one more thing I want to get in before 2.5... It'd be nice to have some syntactic sugar for creating monochromatic SEDs. As opposed to:
Now this could simply be the above, or it could be a whole galaxy emission line interface with Gaussian/Voigt/Lorentzian/... 1-d profiles. Probably above is sufficient, but wanted to discuss briefly here before committing anything.