The Exposure Time is calculated based on the user input SNR, instrument configuration and input source spectrum. For spectroscopic modes, this value is calculated at a particular wavelength which is specified by the user in Section 2 of the ETC forms.
Please make sure the wavelength entered in this section is covered by the selected mode.
With this information, the count rate terms (in photons/sec) are retrieved from pysynphot. Each photon count rate term is depicted below with an r subscript.
Taking formula (ii) from the previous page and expanding the count terms, we get the following:

This can be easily changed to:
![S_{r}^2 \cdot t^{2} - \mathrm{SNR}^{2} \cdot [ S_r + (\mathrm{Sky}_r) + \mathrm{DC}_r + (\mathrm{Thermal}_r) + ] \cdot t - \mathrm{SNR}^{2} \cdot \mathrm{RN}^{2} = 0](_images/math/11d932f41997d47d4a4a5d15854a466684c4939a.png)
Then solving for t gives us:

Where




= Source count rate
= Signal To Noise ratio
= Earthshine count rate (optional field)
= Zodiacal Light count rate (optional field)
= Geocoronal Emission Line(s) count rate (optional field)
= Dark Current count rate
= Thermal background count rate (optional field)
= Read Noise