stellar_mags¶
- rubin_sim.utils.stellar_mags(stellar_type, rmag=19.0)¶
Calculates the expected magnitudes in LSST filters for a typical star of the given spectral type.
Based on mapping of Kuruz models to spectral types here: http://www.stsci.edu/hst/observatory/crds/k93models.html
- Parameters:
- stellar_typestr
Spectral type of a star (O,B,A,F,G,K,M), or for white dwarf colors, one of ‘HeWD_25200_80, ‘WD_11000_85’, ‘WD_3000_85’
- rmagfloat
The expected r-band magnitude of the star.
- Returns:
- dict of floats
The expected magnitudes in LSST filters.