# 9.3 Computing Exposure Times

HRC has been unavailable since January 2007. Information about the HRC is provided for archival purposes.

To derive the exposure time to achieve a given signal-to-noise ratio, or to derive the signal to noise ratio in a given exposure time, there are five principal ingredients:

• Expected counts, C, from your source over some area.
• The area (in pixels) over which those counts are received, Npix.
• Sky background, Bsky, in counts/pixel/second.
• The detector background, Bdet, or dark rate in units of counts/s/pixel.

Section 9.4 provides the information for determining the sky-plus-detector background. For CCDs, one electron is equivalent to one count.

## 9.3.1 Calculating Exposure Times for a Given Signal-to-Noise

The signal-to-noise ratio, Σ, is given by:

 (1)

where:

• is the signal from the astronomical source in counts/s, or electrons/s, from the detector.
• Npix is the total number of detector pixels integrated over to achieve C.
• Bsky is the sky background in counts/s/pixel.
• Bdet is the detector dark current in counts/s/pixel.
• R is the readnoise in counts; it is zero for SBC observations. See Table 4.1 for WFC after SM4. For archival purposes, see Table 4.2 and Table 4.3 for WFC and HRC prior to SM4.
• t is the integration time in seconds.

This equation assumes the optimistic (and often realistic) condition that the background level under the object is sufficiently well known (and subtracted) to not significantly contribute; in crowded fields this may not be true.

Observers using the CCD normally take sufficiently long integrations that the CCD readnoise is not important. This condition is met when:

 (2)

For the CCD in the regime where readnoise is not important and for all SBC observations, the integration time to reach a signal-to-noise ratio Σ, is given by:

 (3)

If your source count rate is much brighter than the sky plus detector backgrounds, then this expression reduces further to:

 (4)

i.e., the usual result for Poisson statistics of $//$.

More generally, the required integration time to reach a signal-to-noise ratio Σ is given by:

 (5)

## 9.3.2 Exposure Time Estimates for Red Targets in F850LP

At wavelengths greater than 7500 Å (HRC) and about 9000 Å (WFC), ACS CCD observations are affected by a red halo due to light scattered off the CCD substrate. An increasing fraction of the light as a function of wavelength is scattered from the center of the PSF into the wings. This problem particularly affects the very broad z-band F850LP filter, for which the encircled energy mostly depends on the underlying spectral energy distribution. The ETC finds the encircled energy fraction at the effective wavelength, which takes into account the source spectral distribution. This fraction is then multiplied by the source counts. (The effective wavelength is the weighted average of the system throughput AND source flux distribution integrated over wavelength). However, this does not account for the variation in enclosed energy with wavelength.

As a consequence, in order to obtain correct estimated count rates for red targets, observers are advised to use pysynphot or stsynphot.

To quantify this, we compare the ETC results with pysynphot/stsynphot for a set of different spectral energy distributions and the observation mode WFC/F850LP. In Table 9.3, the spectral type is listed in the first column. The fraction of light with respect to the total integrated to infinity is listed in the other two columns, for the ETC and pysynphot/stsynphot calculations respectively. These values are derived for a 0.2 arcsecond radius aperture.

Table 9.3: Encircled energy comparison for WFC/F850LP.

 Spectral type ETC pysynphot/stsynphot O5V (Kurucz model) 0.78 0.75 M2V (Kurucz model) 0.76 0.73 L3 (Phoenix model) 0.73 0.71 T2 (Phoenix model) 0.67 0.66

The ETC results are off by 4% (O star), 4% (M star), 3% (L star), and 1% (T star). If this small effect is relevant to particular observations, then the pysynphot/stsynphot software package can be used. Further information about filter F850LP can be found in