Coverage for python/lsst/sims/utils/m5_flat_sed.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Calculate the m5 value, using photometric scaling. Note, does not include shape of the object SED.
Parameters ---------- visitFilter : str One of u,g,r,i,z,y musky : float Surface brightness of the sky in mag/sq arcsec FWHMeff : float The seeing effective FWHM (arcsec) expTime : float Exposure time for the entire visit in seconds airmass : float Airmass of the observation (unitless) tauCloud : float (0.) Any extinction from clouds in magnitudes (positive values = more extinction)
Output ------ m5 : float The five-sigma limiting depth of a point source observed in the given conditions. """
# Set up expected extinction (kAtm) and m5 normalization values (Cm) for each filter. # The Cm values must be changed when telescope and site parameters are updated. # # These values are calculated using $SYSENG_THROUGHPUTS/python/calcM5.py. # This set of values are calculated using v1.2 of the SYSENG_THROUGHPUTS repo.
# Only define the dicts once on initial call 'g': 24.38, 'r': 24.43, 'i': 24.30, 'z': 24.15, 'y': 23.70} 'g': 0.19, 'r': 0.10, 'i': 0.07, 'z': 0.05, 'y': 0.04} 'g': 0.21, 'r': 0.13, 'i': 0.10, 'z': 0.07, 'y': 0.18} 'g': 22.24, 'r': 21.20, 'i': 20.47, 'z': 19.60, 'y': 18.63} # Calculate adjustment if readnoise is significant for exposure time # (see overview paper, equation 7) # Calculate fiducial m5 1.25*np.log10(expTime/30.0) - m5_flat_sed.kAtm[visitFilter]*(airmass-1.0) - 1.1*tauCloud)
|