scopesim_templates.stellar.cluster_utils.mass2absmag#
- scopesim_templates.stellar.cluster_utils.mass2absmag(mass)#
Interpolate the absolute V magnitude (Mv) for a given stellar mass.
- Parameters:
mass (float or iterable of floats) – Star mass in units of solar mass.
- Returns:
absmag – Absolute magnitude or magnitudes.
- Return type:
Notes
massshould not be passed as a quantity.