beast.observationmodel.phot.
fluxToMag
Return the magnitudes from flux values
flux: np.ndarray[float, ndim=N]
array of fluxes
mag: np.ndarray[float, ndim=N]
array of magnitudes