scopesim_templates.stellar.cluster_utils.mass2absmag

Contents

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:

float or list of floats

Notes

mass should not be passed as a quantity.