Standalone WFC Destriping Tools
ACS Destripe
Remove horizontal stripes from ACS WFC post-SM4 data.
For more information, see ACS ISR 2011-05.
Note
Does not work on RAW images.
Uses the flatfield specified by the image header keyword PFLTFILE. If keyword value is ‘N/A’, as is the case with biases and darks, then unity flatfield is used.
Uses post-flash image specified by the image header keyword FLSHFILE. If keyword value is ‘N/A’, then dummy post-flash with zeroes is used.
Uses the dark image specified by the image header keyword DARKFILE. If keyword value is ‘N/A’, then dummy dark with zeroes is used.
Examples
In Python:
>>> from acstools import acs_destripe
>>> acs_destripe.clean('uncorrected_flt.fits', 'csck',
... mask1='mymask_sci1.fits', mask2='mymask_sci2.fits',
... clobber=False, maxiter=15, sigrej=2.0)
From command line:
% acs_destripe [-h] [--stat STAT] [--lower [LOWER]] [--upper [UPPER]]
[--binwidth BINWIDTH] [--mask1 MASK1] [--mask2 MASK2]
[--dqbits [DQBITS]] [--rpt_clean RPT_CLEAN]
[--atol [ATOL]] [-c] [-q] [--version]
input suffix [maxiter] [sigrej]
Functions
|
Remove horizontal stripes from ACS WFC post-SM4 data. |
ACS Destripe Plus
Fully calibrate post-SM4 ACS/WFC exposures using the standalone ACS Destripe tool to remove stripes between ACSCCD and ACSCTE steps in CALACS.
This script runs CALACS (8.3.1 or higher only) and acs_destripe
on ACS/WFC images. Input files must be RAW full-frame or supported subarray
ACS/WFC exposures taken after SM4. Resultant outputs are science-ready
FLT and FLC (if applicable) files.
This script is useful for when the built-in CALACS destriping algorithm using overscans is insufficient or unavailable.
For more information, see ACS ISR 2011-05.
Examples
In Python:
>>> from acstools.acs_destripe_plus import destripe_plus
>>> destripe_plus(
... 'j12345678_raw.fits', suffix='strp', maxiter=15, sigrej=2.0,
... scimask1='mymask_sci1.fits', scimask2='mymask_sci2.fits',
... clobber=False, cte_correct=True)
From command line:
% acs_destripe_plus [-h] [--suffix SUFFIX] [--stat STAT]
[--maxiter MAXITER] [--sigrej SIGREJ]
[--lower [LOWER]] [--upper [UPPER]]
[--binwidth BINWIDTH] [--sci1_mask SCI1_MASK]
[--sci2_mask SCI2_MASK] [--dqbits [DQBITS]]
[--rpt_clean RPT_CLEAN] [--atol [ATOL]] [--nocte]
[--keep_intermediate_files] [--clobber] [-q] [--version]
input
Functions
|
Calibrate post-SM4 ACS/WFC exposure(s) and use standalone ACS Destripe. |
|
Perform CRREJ and ACS2D on given BLV_TMP or BLC_TMP files. |