scopesim.effects.ter_curves_utils.get_zero_mag_spectrum#
- scopesim.effects.ter_curves_utils.get_zero_mag_spectrum(system_name: str = 'AB') SourceSpectrum#
Return a synphot spectrum of 0 mag in given photometric system.
- Parameters:
system_name ({"AB", "Vega", "ST", "HST"}) – Name of the photometric system.
- Raises:
ValueError – Raised if system_name is invalid.
- Returns:
spec – Output spectrum.
- Return type:
synphot.SourceSpectrum