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} - \text{\sl SNR}^{2} \cdot [ S_r + Sky_r + \text{\sl DC}_r + (Thermal_r) + (\text{\sl CS}_r) ] \cdot t - \text{\sl SNR}^{2} \cdot \text{\sl RN}^{2} = 0](_images/math/ff0d04531d522b521c5308743e789a96bd823676.png)
Then solving for t gives us:

Where:




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