This task implements a pixel-based CTE correction for calibrated ACS/WFC images.
Functions to apply pixel-based CTE correction to ACS images.
The algorithm implemented in this code was described in detail by [Anderson] as available online at:
http://adsabs.harvard.edu/abs/2010PASP..122.1035A
Authors: | |
---|---|
Pey Lian Lim and W.J. Hack (Python), J. Anderson (Fortran) |
|
Organization: | |
Space Telescope Science Institute |
|
History: | |
|
Run all the CTE corrections on all the input files.
This function simply calls YCte() on each input image parsed from the input parameter, and passes all remaining parameter values through unchanged.
Parameters : | |
---|---|
input: string or list of strings :
outFits: string :
noise: int :
intermediateFiles: bool :
nits: int :
|
Examples
This task can be used to correct a set of ACS images simply with:
>>> import PixCteCorr
>>> PixCteCorr.CteCorr('j*q_flt.fits')
This task will generate a new CTE-corrected image for each of the FLT images.
The TEAL GUI can be used to run this task using:
>>> epar PixCteCorr # under PyRAF only
or from a general Python command line:
>>> from pytools import teal
>>> teal.teal('PixCteCorr')
FUTURE WORK. Not Implemented yet.
Apply correction to serial CTE loss. This is to be done before parallel CTE loss correction.
Probably easier to call as routine from YCte().
Apply correction for parallel CTE loss.
Input image that is already de-striped is desired but not compulsory. Using image with striping will enhance the stripes in output. Calibrations that have been applied to FLT should not significantly affect the result.
Parameters : | |
---|---|
inFits: string :
outFits: string :
noise: int :
intermediateFiles: bool :
nits: int :
|
Notes
Examples
This task can be used to correct a single FLT image with:
>>> import PixCteCorr
>>> PixCteCorr.YCte('j12345678_flt.fits')
This task will generate a new CTE-corrected image.