scopesim.effects.ter_curves_utils.zero_mag_flux#
- scopesim.effects.ter_curves_utils.zero_mag_flux(filter_name, photometric_system, return_filter=False)#
Return the zero magnitude photon flux for a filter.
Acceptable filter names are those given in
scopesim.effects.ter_curves_utils.FILTER_DEFAULTSor a string with an appropriate name for a filter in the Spanish-VO filter-service. Such strings must use the naming convention: observatory/instrument.filter. E.g: “paranal/HAWKI.Ks”, or “Gemini/GMOS-N.CaT”.- Parameters:
- Returns:
flux (float) – [PHOTLAM]
filt (
synphot.SpectralElement) – If return_filter is True