- rubin_sim.phot_utils.calc_snr_sed(source_sed, totalbandpass, skysed, hardwarebandpass, phot_params, fwhm_eff, verbose=False)¶
Calculate the signal to noise ratio 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
@param [out] signal to noise ratio