zeropoint¶
-
simcado.simulation.
zeropoint
(filter_name='TC_filter_Ks.dat')[source]¶ Returns the zero point magnitude for a SimCADO filter
This is an end-to-end simulation which aims to take into account all transmission effects incorporated in a SimCADO simulation.
The returned zeropoint is for an exposure of 1s. Therefore, magnitudes from measured fluxes in simulated images should be calculated as following
mag = -2.5*np.log10(counts/texp) + zp
where counts are the background subtracted counts, texp is the exposure time and zp is the zeropoint for the filter in question, calculated here.
- Parameters
- filter_name: A SimCADO filter
- Returns
- zp: the zeropoint magnitude