calc_mag_error_sed

rubin_sim.phot_utils.calc_mag_error_sed(source_sed, totalbandpass, skysed, hardwarebandpass, phot_params, fwhm_eff, verbose=False)

Calculate the magnitudeError for a source, given the bandpass(es) and sky SED.

For a given source, sky sed, total bandpass and hardware bandpass, as well as fwhm_eff / exptime, calculates the SNR with optimal PSF extraction assuming a double-gaussian PSF.

@param [in] source_sed is an instantiation of the Sed class containing the SED of the object whose signal to noise ratio is being calculated

@param [in] totalbandpass is an instantiation of the Bandpass class representing the total throughput (system + atmosphere)

@param [in] skysed is an instantiation of the Sed class representing the sky emission per square arcsecond.

@param [in] hardwarebandpass is an instantiation of the Bandpass class representing just the throughput of the system hardware.

@param [in] phot_params is an instantiation of the PhotometricParameters class that carries details about the photometric response of the telescope.

@param [in] fwhm_eff in arcseconds

@param [in] verbose is a bool

@param [out] magnitude error