fluxToMag

beast.observationmodel.phot.fluxToMag(flux)[source]

Return the magnitudes from flux values

Parameters:

flux (np.ndarray[float, ndim=N]) – array of fluxes

Returns:

mag – array of magnitudes

Return type:

np.ndarray[float, ndim=N]