flux2mag

mpdaf.obj.flux2mag(flux, err_flux, wave)[source]

Convert flux from erg.s-1.cm-2.A-1 to AB mag.

wave is the wavelength in A