ACS/WFC CTE Correction Calculator
This script corrects ACS/WFC aperture photometry for CTE losses using the most recent formula from Chiaberge's ISR 2012-05. It is only calibrated for photometry obtained after SM4 in May 2009. For pre-SM4 data, please see Chiaberge et al. 2009 (ISR 2009-01), or use pixel-based CTE-corrected files obtained from MAST.
Users upload a text file of their photometry and the calculator returns a file with corrected photometry. The uploaded file should have the following columns, in order:
- Flux (in instrumental magnitudes or electrons). Flux measurements should be obtained from drz files using a 3-pixel or 5-pixel aperture radius.
- Sky background (in electrons). Sky level should be measured locally in an annulus surrounding the star.
- Number of pixel transfers on the parallel register.
The "number of pixel transfers on the parallel register" is simply the distance in pixels from the star to the serial registers of the CCD, along the Y direction. If the Y-coordinate option is selected, the third column should instead show the star's Y coordinate in the FLT frame. In this case, the input file should also include an additional fourth column with the CCD chip specified (1=WFC1, 2=WFC2).
In addition to correcting input photometry, the output file will include a header that explains the meaning of several different flags. Users should carefully check these flags to ensure that photometric data lie within the region where the correction formula is most reliable.The correction is accurate to better than 4% for stars between 50 e- and 80,000 e-. Outside these limits, the error increases sharply. However, for stars brighter than 80,000 e- the CTE loss is never larger than ~4% (unless the background is lower than ~10e-). For very bright stars, a larger aperture radius may be used to perform photometry, in order to recover a greater fraction of the lost flux. CTE correction can also be obtained for photometry with slightly different aperture radii, albeit with a loss of accuracy; for larger radii the data will be slightly overcorrected. We hope to expand the region of optimal calibration using data from future cycles.
CTE Correction Walkthrough
- Obtain FLT images using CALACS, and then use Multidrizzle or Astrodrizzle to obtain DRZ data. Alternatively, use the DRZ files from the pipeline as provided by MAST.
- Multiply the DRZ images by the exposure time. In case multiple exposures are combined into a single drizzled image, the exposure time of the final product should be used. If the exposures were taken with different exposure times, we recommend that photometry be performed on each of the images separately. The results can then be corrected for CTE losses and finally averaged to obtain a more accurate measurement of the stellar flux.
- Perform aperture photometry with any preferred software (e.g. daophot). Set the aperture radius to 3 or 5 pixels. Measure the background for each star locally (e.g. in an annulus of rmin=13 pixels and rmax=18 pixels, centered on the star).
- Obtain the date of the observation from the header keyword DATE-OBS.
- Measure the number of transfers for each star. The number of transfers are best obtained by identifying the position of each star on the FLT image. Use either the task "pixtopix" from the drizzlepac package in PYRAF/Python, or measure the coordinates of the stars directly on the corresponding FLT image. For stars that fall in WFC2 (which is included in extension  of the FLT .fits file), the number of transfers Ytran is simply the y coordinate of the star. For WFC1, which is included in extension  of the same fits file, the number of transfers is Ytran=2049-ystar, where ystar is the y coordinate of the star on that frame. Note that this needs particular care in case the observations are dithered. If the position of the star changes only by a few (< 10) pixels, the correction is still well within the error even for large losses. However, if the dithers correspond to larger shifts, users should carefully check the original position of each star in the FLT files, and then derive the correction using the average value of Ytran. While doing so, make sure that the parameters used in astrodrizzle (or multidrizzle) do not bias the results when the CR rejection is performed.
- Load a file with columns for flux, sky, and y-transfer information into this calculator and obtain corrected photometry.
- Perform the aperture correction.
- If desired, perform additional corrections (i.e. converting the flux from e- into e- s-1, or applying zeropoints to convert the flux into AB or Vega magnitudes).