The LBC Exposure Time Calculator computes Signal-to-Noise Ratio, Total Magnitudes and Exposure Time to help users plan LBC observing programs at LBT. It is built on the LAMP software bundle for the server-side infrastructure and calculations and on HTML/CSS/Javascript for the client-side user interface. The interface is developed to drive the user to handle the fields in the ETC panels in sequence. The use of each panel is explained on this help page, yet by placing the mouse cursor on each ETC panel, a tip popup with a short description is displayed.
1. Select Instrument panel. User can select the instrument from the dropdown menu: LBC-BLUE or LBC-RED. Once an instrument is selected, the filter dropdown menu in the second panel (Input Parameters) is dinamically populated with the corresponding filters.
2. Input Parameters panel. Set the required simulation parameters in this panel: filter, airmass, seeing, Moon phase, photometry aperture, and the source type. All fileds are mandatory, and tooltips indicate the allowed value ranges: airmass 1.0 to 3.0, seeing 0.1" to 2" and photometric aperture 0.5" to 20". Changing either the filter or the airmass automatically generates an updated filter transmission efficiency plot in the third panel (Filter Preview). The Moon phase - selectable as 0, 3, 7, 10, 14 days from/to New Moon - determines the appropriate sky magnitude used in the calculation. Finally, depending on the selected source type (Star, Spiral galaxy, Elliptical Galaxy) specific aperture magnitude corrections are applied, resulting in slightly different outputs.
3. Filter Preview panel. Based on the selected filter, the tool reads a configuration file containing the wavelength, the instrument efficiency convolved with the filter transmission, the atmospheric extintion and the nominal filter transmission efficiency. While the nominal and vacuum efficiencies are plotted as functions of wavelength directly from the file, the efficiency at the user-defined airmass is computed dynamically. The resulting plot displays the efficiency curves against wavelength: the filter transmission, the total efficiency at airmass=0 and the total efficiency at the desired airmass.
4. Calculator panel. Initially, only the Type of Calculation dropdown menu is enabled, allowing you to choose among three calculation modes: Total Magnitude (given Exposure Time and S/N Ratio); S/N Ratio (given Exposure Time and Total Magnitude);Exposure Time (given Total Magnitude and S/N Ratio).
Once a mode is selected, you must enter two of these parameters to compute the third. The Number of Exposures field is also enabled, as it is required across all three modes. The remaining output fields (Single Exposure Time, Single Exposure Sky Background, and Saturation Magnitude) remain disabled, as they are populated automatically by the tool. Click Get Results to run the calculation. Calculated values are displayed in green, while any fields containing errors are highlighted in red. A Reset button is also available to clear temporary edits and restore default values. In more detail, the calculation of Total Magnitude at given SN Ratio and Exposure Time is done as follows:
Magnitude at given SNR and Exp. Time. The general formula used to obtain the total magnitude of the simulation \(M_{TOT} \) at given Signal to Noise Ratio \(snr\) and Total Exposure Time \(T\) is:
$$M_{TOT} = -2.5*\log_{10}(\frac{\phi_{tot}}{\phi_0}) - M_{CA}$$ hence expliciting the zero point
$$M_{TOT} = -2.5*\log_{10}(\phi_{tot}) + ZP(a) - M_{CA}$$
where \(\phi_{tot}\) indicates the total flux of the source extracted at the given aperture, \(ZP(a)\) indicates the magnitude zero point at the given airmass and \(M_{CA}\) the aperture correction (different for star, spiral galaxy and elliptical galaxy). The flux \(\phi_{tot}\) is obtained applying the formula:
$$ \phi_{tot} = \frac{\frac{snr^{2}}{gain}+\sqrt{{(\frac{snr^{2}}{gain}})^{2}-4*\alpha*[{-{snr}^{2}*n*A*(\frac{ron}{gain})^{2}+B*\frac{A}{gain}+\frac{ffa^{2}}{n}*B^{2}*A]}}}{2*\alpha}$$
\(gain = 2.0 \frac{e^{-}}{ADU}\) and \(ron =11.5 e^{-}\) indicate respectively the CCD gain and the CCD readout noise and \(ffa=0.005\) the flat field accuracy. \(n\) indicates the input number of exposures and \(A [pixel]\) represents the area in the given aperture. Defining \(\omicron\) as the photometry aperture and \(s\) as the input seeing in arcsec, \(p = 0.225 \frac{arcsec}{pixel}\) as the pixel size and \(R=\frac{\omicron}{s}\) as the aperture in seeing units, the area is derived by the formula:
$$ A = \pi*({\frac{s*R}{2*p}})^{2} $$
The parameter \(B\) indicates the background flux per pixel and is obtained through the following relation:
$$ B \propto T * p^{2} * 10^{-0.4*(M_{sky}-ZP_{0})}$$
where \(M_{sky}[mag]\) is the sky magnitude and \(ZP_{o}[mag]\) the filter zero point at \(a=0\). As anticipated above, \(M_{sky}[mag]\) strongly depends on Moon phase and on filter, and
values are written in configuration files. Here is the full table, with sky magnitudes at given Moon phase (expressed in days from/to New Moon):
| Filter | Msky(0 days) | Msky(3 days) | Msky(7 days) | Msky(10 days) | Msky(14 days) |
|---|---|---|---|---|---|
| LBC-B_F338N10 | 23.091 | 22.530 | 20.649 | 19.102 | 17.585 |
| LBC-B_Uspec | 22.958 | 22.466 | 20.821 | 19.371 | 17.886 |
| LBC-B_Ubessel | 22.895 | 22.429 | 20.860 | 19.453 | 17.987 |
| LBC-B_Bbessel | 22.577 | 22.352 | 21.498 | 20.510 | 19.285 |
| LBC-B_Vbessel | 21.776 | 21.657 | 21.336 | 20.708 | 20.002 |
| LBC-B_gsloan | 22.257 | 22.067 | 21.529 | 20.722 | 19.749 |
| LBC-B_rsloan | 21.387 | 21.297 | 21.079 | 20.673 | 20.183 |
| LBC-R_Vbessel | 21.776 | 21.657 | 21.336 | 20.708 | 20.002 |
| LBC-R_Rbessel | 21.101 | 21.039 | 20.830 | 20.493 | 20.064 |
| LBC-R_rsloan | 21.359 | 21.270 | 21.055 | 20.664 | 20.184 |
| LBC-R_Ibessel | 20.399 | 20.386 | 20.187 | 19.964 | 19.658 |
| LBC-R_isloan | 20.527 | 20.507 | 20.304 | 20.069 | 19.747 |
| LBC-R_zsloan | 18.966 | 18.964 | 18.839 | 18.706 | 18.522 |
| LBC-R_F972N20 | 19.946 | 19.944 | 19.803 | 19.654 | 19.447 |
| LBC-R_Yfan | 18.699 | 18.698 | 18.583 | 18.462 | 18.293 |
The correction \(M_{CA}\) is read by the ETC from star/spiral galaxy/elliptical galaxy configuration files.
\(ZP(a)\) is obtained through the formula:
$$ ZP(a) = 2.5*\log_{10}{\frac{T}{t_0}}+ZP_{t=1}(a)$$
Where \(t_0=1s\), \(ZP_{t=1}(a)\) is the Zero Point per time unit at given airmass, which is written in the filter configuration file.
With similar logic the ETC calculates the SN Ratio at given Exposure Time and Total Magnitude and the Total Exposure Time at given SN Ratio and Total Magnitude.
Applied formulas are reported below:
SNR at given Total Magnitude and Exp. Time. The general formula applied for obtaining the Signal to Noise Ratio at given Exposure Time and Total Magnitude is:
$$ snr = \frac{\phi}{\sqrt{\frac{\phi+B*A}{g}+n*A*{\frac{ron}{g}}^{2}+\frac{ffa^{2}}{n}*B^{2}*A}}$$
where
$$ \phi \propto T*10^{-0.4*(M_{TOT}+M_{CA}-ZP(a))} $$
Exposure Time at given SNR and Total Magnitude. The general formula applied to obtain the Total Exposure Time at given Total Magnitude and given Signal to Noise Ratio is:
$$ T = \frac{-\beta+\sqrt{\beta^{2}-4*\alpha*\gamma}}{2*\alpha} $$
where
$$ \alpha = (10^{-0.4*(M_{TOT}+M_{CA}-ZP(a))})^{2} - \frac{a^{2}}{n} * snr^{2} * (p^{2}*10^{-0.4(M_{sky}-ZP_{0})})^{2} * A $$
$$ \beta = -snr^{2}*\frac{10^{-0.4*(M_{TOT}-M_{CA}-ZP_{0})}+A*p^{2}*10^{-0.4*(M_{sky}-ZP_{0})}}{g}$$
$$ \gamma = -snr^{2}*n*A*(\frac{ron}{g})^{2}$$
In addition the ETC also calculates the Saturation Magnitude and the background flux for a single exposure.
The total flux can be expressed through the formula:
$$ \Phi_{tot} = \int_{0}^{\infty}{2\pi*\iota(r)*r*dr}$$
where \( r \) and \( \iota(r) \) indicate the radius of the source and the flux intensity at given radius. We assume a Moffat profile for the point spread function, that is
$$ \iota(r) = \iota_{0}[1+(2^{\frac{1}{\beta}}-1)*(\frac{r}{r_0})]^{-\beta} $$
with \( \beta=2.5 \) and \( r_0 = \frac{s}{2*p}\). \( \iota_0 \) represents the peak intensity.
For LBC images, saturation occurs when \( \iota_0 + B = 2^{16}\), where B is the single exposure background flux:
$$ B \propto \tau * p^2 * 10^{-0.4(M_{sky}-ZP_{t=1s}(a=0))}$$
and \(\tau \) the single exposure time. The saturation magnitude is given by the formula:
$$ M_{sat} = -2.5*log_{10}{\frac{\Phi_{tot}}{\tau}}+ZP_{t=1s}(a=0)$$
Solving the integral and substituting the flux:
$$ M_{sat} = -2.5*log_{10}{\frac{\iota_0*\pi*\frac{r_{0}^{2}}{(2^{\frac{1}{\beta}}-1)*(\beta-1)}}{\tau}}+ZP_{t=1s}(a=0)$$
5. Event Log panel. The positive or negative outcome of the simulation and possible warnings or errors and their plausible solutions are reported here.
6. Full report panel. All the data of the simulation (input and output parameters) are reported here. For magnitudes, a pair of values AB/Vega is displayed as the ETC calculates the conversion between each other.
Formulas in this page are written using MathJax (©2009-2022 info@mathjax.org)