sncosmo.ABMagSystem¶
- class sncosmo.ABMagSystem(name=None)[source]¶
Magnitude system where a source with F_nu = 3631 Jansky at all frequencies has magnitude 0 in all bands.
Methods
__init__
([name])band_flux_to_mag
(flux, band)Convert flux (photons / s / cm^2) to magnitude.
band_mag_to_flux
(mag, band)Convert magnitude to flux in photons / s / cm^2
zpbandflux
(band)Flux of an object with magnitude zero in the given bandpass.
Attributes
name
Name of magnitude system.