m5_flat_sed

rubin_sim.utils.m5_flat_sed(visit_filter, musky, fwhm_eff, exp_time, airmass, nexp=1, tau_cloud=0)

Calculate the m5 value, using photometric scaling. Note, does not include shape of the object SED.

Parameters:
visit_filterstr

One of u,g,r,i,z,y

muskyfloat

Surface brightness of the sky in mag/sq arcsec

fwhm_efffloat

The seeing effective FWHM (arcsec)

exp_timefloat

Exposure time for each exposure in the visit.

airmassfloat

Airmass of the observation (unitless)

nexpint, optional

The number of exposures. Default 1. (total on-sky time = exp_time * nexp)

tau_cloudfloat (0.)

Any extinction from clouds in magnitudes (positive values = more extinction)

Returns:
m5float

The five-sigma limiting depth of a point source observed in the given conditions.