*****************************************
*****************************************
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:
The "number of pixel transfers on the parallel register" is simply the distance in pixels from where the star is located 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 number (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.