This task has been written to remove the bias stripe pattern imposed on post-SM4 full frame ACS/WFC images.
acs_destripe - try to clean out horizontal stripes and crosstalk from ACS WFC post-SM4 data.
Version 0.2.1
This program tries to clean out horizontal stripes and crosstalk signatures found in ACS/WFC post-SM4 data.
It is assumed that the data is an ACS/WFC FLT image - with two SCI extensions. The program needs access to the flatfield specified in the image header PFLTFILE.
Author : | |
---|---|
Norman Grogin, STScI, June 2010. |
|
Parameters : | |
input: str or list of str :
output: str :
clobber: bool :
maxiter: int :
sigrej: float :
|
Notes
If PFLTFILE has the value “N/A”, as is the case with biases and darks, then the program assumes a unity flatfield.
This program also expects an _flt.fits file as input, NOT a _raw.fits file.
Examples
To run this task from within Python:
>>> from acstools import acs_destripe
>>> acs_destripe.clean('uncorrected_flt.fits','csck', clobber=False, maxiter=15, sigrej=2.0)
Note
make sure the acstools package is on your Python path
To run this task using the TEAL GUI to set the parameters under PyRAF:
>>> import acstools
>>> epar acs_destripe # or `teal acs_destripe`
To run this task from the operating system command line:
% ./acs_destripe [-h][-c] uncorrected_flt.fits uncorrected_flt_csck.fits [15 [2.0]]
Note
make sure the file acs_destripe.py is on your executable path
TEAL interface for running this code.