luminosity_from_absolute_magnitude

skypy.utils.photometry.luminosity_from_absolute_magnitude(absolute_magnitude, zeropoint=None)[source] [edit on github]

Converts absolute magnitudes to luminosities.

Parameters
absolute_magnitudearray_like

Input absolute magnitudes.

zeropointfloat or str, optional

Zeropoint for the conversion. If a string is given, uses the reference luminosities from luminosity_in_band.

Returns
luminosityarray_like

Luminosity values.