Space Telescope Science Institute
ACS Data Handbook V7.2
help@stsci.edu
Table of Contents Previous Next Index PDF


ACS Data Handbook > Chapter 4: ACS Data Processing Considerations > 4.4 Flat-Field Reference Files

4.4
The flat-field reference files currently in use by the ACS calibration pipeline were derived via different methods, depending on the detector and the filter used. These “LP-flats” are a combination of a “P-flat” which accounts for the pixel-to-pixel variations in sensitivity, and of an “L-flat” which models the low-frequency variations in sensitivity over the detector field of view. CCD LP-flats were created in the laboratory using an external illumination source and corrected in-flight from dithered stellar observations of 47 Tucanae. For the SBC, P-flats were derived from in-flight internal lamp exposures, while the SBC L-flats were derived from dithered NGC 6681 exposures.
4.4.1 Ground Flats (P-flats)
CCDs
In early 2001, flat-field images for the ACS were produced in the laboratory (see ACS ISR 2001-11) using the Refractive Aberrated Simulator/Hubble Opto-Mechanical Simulator (RAS/HOMS). The RAS/HOMS is a HST simulator capable of delivering OTA-like external monochromatic point source and broad-band full field illumination above its refractive cutoff wavelength of ~3500 .
Because the RAS/HOMS optics are opaque below 3500 , flats for the UV filters F330W and F344N (see ACS ISR 2003-02 and ACS ISR 2005-12) were created using in-flight observations of the bright Earth (see Section 4.4.4).Unfortunately, red leaks in F220W and F250W are so large that the out-of-band light dominates, and the lab flats made with the deuterium lamp illumination are superior to the Earth flats for these two filters.
A total signal of about 100,000 electrons per pixel is required for each flat field to avoid degrading the intrinsic pixel-to-pixel rms response of < 1% for the ACS CCD detectors. The flats are normalized by dividing by the average number of counts in the central 1% of the frame. In the case of full WFC frames, the WFC2 images are divided by the WFC1 central value in order to preserve the overall sensitivity difference between the two CCD chips across the ~50 pixel gap that separates the two independent pieces of the WFC detector. For small filters that cover just part of one quadrant of the WFC (i.e., F892N, polarizers), flats were masked to unity below 90% of the central value of the data, so that no flat-field correction is done on the scattered light outside the physical edge of the filter.
More information on the HRC and WFC ground flats may be obtained from ACS ISR 2001-11 for the standard filters, polarizers, and coronagraph, from ACS ISR 2002-01 for the ramp filters, and from ACS ISR 2002-04 for the prism and grism. The stability of P-flats is tested in each cycle. Please see ACS ISR 2007-01 for more information about the stability of P-flats after the cooldown to -81C in 2006. Observations made during SMOV SM4 show that WFC P-flats are stable.
MAMA
Flat fields for the full set of SBC filters were also taken in the laboratory (ACS ISR 1999-02), but were later replaced with in-flight observations using the internal deuterium lamp (ACS ISR 2005-04). With total integration time of 20.5 hours through the F125LP filter, a flat field with a total signal of 12,000 counts per pixel was produced. Analysis of original laboratory flats indicates that the P-flat response is independent of wavelength, so the F125LP lamp flat was used for all filters. The internal lamp illumination does not simulate the OTA optics and, therefore, is useful only for correcting the pixel-to-pixel detector response. In order to accurately model the low-frequency variations in sensitivity, which may depend on wavelength, dithered star field observations were required. (See Section 4.4.2 for a discussion of the SBC L-flats.)
4.4.2 L-flats
CCDs
The large scale uniformity of the WFC and HRC detector response, as provided by the CCD laboratory flats, has been improved in-flight by using multiple dithered pointings of stars in 47 Tucanae. By placing the same stars over different portions of the detector and measuring relative changes in brightness, low frequency spatial variations in the response of each detector have been measured. Photometric errors of % to %, corner-to-corner, have been found in the original WFC and HRC laboratory flat fields (see ACS ISR 2002-08). The derived L-flats are based on a 4th-order polynomial fit and are shown in Figure 4.13 and Figure 4.14 for WFC and HRC, where white indicates that the photometry produced using the laboratory flats is too faint with respect to the true stellar magnitude, and black indicates that the photometry is too bright. There is a continuous gradient in the L-flat correction along the diagonal of the detector which corresponds to the axis of maximum geometric distortion.
L-flats were determined from in-flight observations using filters F435W, F555W, F606W, F775W, F814W, and F850LP for both the WFC and HRC. The HRC study included two additional filters: F475W and F625W. The L-flat correction for the remaining filters was derived by using linear interpolation as a function of wavelength. The pivot wavelength of each filter was used for the interpolation, where the resulting L-flat is equal to the weighted average of the L-flat for the two filters nearest in wavelength. Due to red leaks in the F220W and F250W HRC filters, no L-flat correction has been applied, and errors in the flats of % to %, corner-to-corner, are expected for these filters. For a detailed discussion of ACS L-flat corrections, refer to ACS ISR 2002-08. For a discussion of the mathematical algorithm used to derive the L-flats, refer to ACS ISR 2003-10.
To verify the interpolated L-flat corrections, additional observations of the same stellar field were acquired. The L-flat calibration program revisited the same target several times per year; therefore, observations were obtained for a range of orientations due to the roll of the telescope. Differential photometry of stars falling on different portions of the detector as the telescope rolled provided a verification of the L-flats for the interpolated filters and also provided an independent test of the absolute sensitivity dependence with time since SM4 for the full suite of ACS WFC wide-band filters. New ACS WFC wide-band flat fields have been generated and initial analysis indicates that the errors are ~1% or less. The files are undergoing further analysis and if all goes well, the new flats will be delivered to the pipeline and Archive during the summer of 2013. The data for the medium- and narrow-band ACS WFC filters is in hand, and analysis will begin in late summer or early fall, 2013. The data for the HRC is also available, and analysis will commence as soon as the resources are available.
Following the recovery of ACS with Side 2 electronics in July 2006, the temperature set-point was lowered from a nominal value of -77C to -81C for the WFC in order to minimize impacts of the continuously growing hot pixels.
The required L-flat changes range from ~0.6% peak-to-peak at F435W to 0.15% at F814W (see ACS ISR 2006-06). Revised L-flats were created and delivered, post-cooldown, in July 2006.
MAMA
As was done for the CCDs, the SBC L-flats were derived using dithered star field observations. Instead of 47 Tucanae, however, the UV-bright globular cluster NGC 6681, which is rich in blue horizontal branch stars, was selected. This work is summarized in ACS ISR 2005-13. The required corrections to the in-flight lamp flats are given in Figure 4.15 and range from % to %, depending on wavelength. Since insufficient observations with the F122M filter exist, this L-flat is simply a copy of the F115LP filter correction. Six new flat fields have been delivered for use in the calibration pipeline, and the resulting photometric accuracy is now % for F115LP, F122M, and F140LP, and % for F150LP and F165LP.
Figure 4.13: WFC Low Frequency (L-flat) Flat-Field Corrections Required for the Laboratory Data.
While the pixel-to-pixel (P-flat) structure of the laboratory flats is robust, a low frequency correction is required to achieve uniform detector response. This correction ranges from % for the F555W filter to % for the F850LP filter.
Figure 4.14: HRC Low Frequency (L-flat) Flat-Field Corrections Required for the Laboratory Flats
This correction ranges from % for the F555W filter to % for the F850LP filter.
Figure 4.15: SBC Low Frequency (L-flat) Flat-Field Corrections Required for the In-flight Deuterium Lamp Data
This correction ranges from % for the F115LP filter to% for the F165LP filter.
4.4.3 Pipeline Flat-Field Files
The inferred L-flat corrections were multiplied by the corresponding P-flats, and the resulting flat fields have been in use in the calibration pipeline. Observers are encouraged to check the ACS Web site for the most recent flat fields available for recalibration at
http://www.stsci.edu/hst/observatory/cdbs/SIfileInfo/ACS/reftablequeryindex
Figure 4.16 shows the corrected WFC laboratory flats for several broad-band filters. Note that on the sky, a gap of ~50 pixels exists between the top and bottom halves that is not shown here. The central donut-like structure is due to variations in chip thickness (see ACS ISR 2003-06) and is dependent on wavelength. Pixels in the central region, for example, are less sensitive than surrounding pixels in the blue F435W filter, and more sensitive in the red F850LP filter.
For the HRC, corrected laboratory flats for the same broad-band filters are shown in Figure 4.17. The donut-like structure seen in the WFC response is not found in the HRC flats. The small dark rings are shadows of dust on the CCD window (see Section 4.5.1). The large dust mote seen in the WFC F606W flat is due to dust on the F606W filter. That portion of the filter is not “seen” by the HRC detector.
The SBC pipeline flats, a combination of the in-flight deuterium lamp flat and the stellar L-flats, are presented in Figure 4.18.
Because of geometric distortion effects, the area of the sky seen by a given pixel is not constant; therefore, observations of a constant surface brightness object will have count rates per pixel that vary over the detector, even if every pixel has the same sensitivity. In order to produce images that appear uniform for uniform illumination, the observed flat fields include the effect of the variable pixel area across the field. A consequence of dividing by these flat fields is that two stars of equal brightness do not have the same total counts after the flat-fielding step. Therefore, point source photometry extracted from a flat-fielded image (flt.fits/flc.fits and crj.fits/crc.fits) must be multiplied by the effective pixel area map (see Section 5.1.3). Alternately, users may use images processed by AstroDrizzle (with suffix drz.fits/drc.fits) where a geometric distortion solution has been applied to correct all pixels to equal areas. In drizzled images, photometry is correct for both point and extended sources.
Accuracy of pipeline flats can be verified using a variety of complementary methods. Section 4.4.2 explained how follow-up observations of the same stellar field can be used to verify the derived L-flat corrections. Alternately, observations of the bright Earth can provide a uniform flat-field source for the complete OTA optical complement and incorporate both the low frequency L-flat and the high frequency pixel-to-pixel P-flat response. Earth flats are described in Section 4.4.4. For most filters, the flats agree to within ~1%, except for the interpolated L-flat filters which usually agree to within ~2%.
The third method for verifying the ACS pipeline flats is with sky flats. These can be made by filtering and summing many observations of a sparse field. Sky flats have been created for a few of the most frequently used broad-band WFC filters and are discussed in detail in Section 4.4.5. The sky flats are generally similar to corrected ground flats at the 1% level, in accordance with the results of the previous two methods. While the WFC can show residuals in the central donut-region which are as large as 2%, these are most likely due to differences in the color of the spectrum of the sky from that of the bright globular cluster stars used for the L-flat determination.
To summarize, the pipeline flats were created by correcting the pixel-to-pixel flats by low-frequency corrections derived from dithered stellar observations. For the most used modes, the flats are accurate to better than 1% across the detector.
Figure 4.16: WFC Flat Fields
Figure 4.17: HRC Flat Fields
Figure 4.18: SBC Flat Fields
4.4.4 Earth Flat Verification for the HRC
Because the RAS/HOMS optics are opaque below 3500  (see Section 4.4.1), flat fields for the HRC UV filters were created using in-flight observations of the bright Earth. The Earth is a poor flat-field source at optical wavelengths because structure in the cloud cover can cause streaking in the flat. However, HRC modes that utilized the F220W, F250W, F330W, and F344N were immune to streaks because of the large optical depth down to the tropospheric cloud layers. The bright Earth then provided a uniform flat-field source for the complete OTA+HRC optical complement.
The required calibration flats, which incorporates both the low frequency L-flat and the high frequency pixel-to-pixel P-flat response, can be easily produced from these observations. Unfortunately, the red leaks in F220W and F250W are so large that the out-of-band light dominated, and the lab flats made with the deuterium lamp illumination (see ACS ISR 2001-11 for details) are superior to the observed Earth flats for the modes that included these two filters. Because no L-flat correction has been applied, errors in the flats of % to %, corner-to-corner, are expected for these filters. HRC F330W and F344N pipeline flats, on the other hand, are defined entirely by Earth flat data (see ACS ISR 2003-02 and ACS ISR 2005-12). With ~20 - 30 observations, each over the course of 3 years, these flats have very high signal-to-noise and showed repeatability to much better than the required 1% accuracy.
HRC Earth flats at wavelengths longward of 4000  often showed streaking and non-uniformities from clouds or the terminator. However, a number of the images are free from these defects and provided an independent verification of the stellar L-flat correction technique at visible wavelengths. Unfortunately, WFC Earth flats suffer from a shutter light leak, and the Earth limb is too bright for SBC observations.
Several hundred observations of the bright Earth were obtained using the full set of HRC standard filters (ACS ISR 2005-12). In general, the pipeline flat fields are confirmed to a precision of ~1%, validating the stellar L-flat corrections. The “interpolated” L-flats are not significantly worse than the L-flats derived from the Earth observations (see Section 4.4.2). One exception is the F550M filter which shows a total deviation of more than 2%. Other exceptions are the four longest wavelength HRC filters which show large systematic differences with the pipeline flats. These differences appear to be caused by stray light originating from the detector surface, where most of the long wavelength photons were reflected and then scattered back from nearby focal plane structures. Any filter transmitting at these long wavelengths would have seen the extra pattern from this light, though the strength of the additional stray light is proportional to the total flux of the source. Thus, for large diffuse objects that fully illuminated the detector, these Earth flats are more appropriate for calibration than the existing pipeline flats, which are appropriate for point sources.
4.4.5 Sky Flats for the WFC
The ACS team has made use of the extensive imagery from the Cycle 13 GOODS survey (Programs 9425 and 9583; PI M. Giavalisco) to construct high signal-to-noise sky flats. These sparsely populated, high Galactic latitude exposures have relatively uniform sky that can be stacked to further quantify the pixel-to-pixel variation of the instrumental response in the WFC F606W, F775W, and F850LP filters with some 50 - 70 images apiece.
The sky flats were created by median-combining the pipeline-reduced flt.fits files after removing cosmic rays and masking all of the sources. Because the GOODS data contained 2 - 4 dithers at each pointing, masking was necessary to eliminate the high values at each pixel. In addition, before combining, each image was corrected for the pedestal bias signature and inspected for scattered light.
Because sky flats are created from the pipeline calibrated flt.fits files, any flat-field signatures that are not in the pipeline flats should appear in the ratio. The combined sky flat in each filter was box-medianed for comparison to the corrected ground flat. The resulting ratios of pipeline to sky flats show variations across the field of view of < 2% for each of the three filters. The sky flats independently created from the two separate GOODS fields, showed excellent agreement (< 1%) for all three filters.

ACS Data Handbook > Chapter 4: ACS Data Processing Considerations > 4.4 Flat-Field Reference Files

Table of Contents Previous Next Index PDF