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: np.ndarray[float, ndim=N]

array of magnitudes