wf3cte
- wfc3tools.wf3cte.wf3cte(input, parallel=True, verbose=False, log_func=<built-in function print>)[source]
Run the
wf3cte.eexecutable as from the shell.This routine performs the CTE correction on raw data files. The calibration step keyword is PCTECORR; if this is set to PERFORM, then the CTE correction will be applied to the dataset.
- Parameters:
- inputstr or list
Name of input files, such as:
a single filename (
iaa012wdq_raw.fits)a Python list of filenames
a partial filename with wildcards (
*raw.fits)an at-file (
@input)
- parallelbool, optional
If True, run the code with OpemMP parallel processing turned on for the UVIS CTE correction. Default is True.
- verbose: bool, optional
If True, print verbose time stamps. Default is False.
- log_funcfunc
By default, the print function is used for logging to facilitate use in the Jupyter notebook.
Examples
>>> from wfc3tools import wf3cte >>> filename = '/path/to/some/wfc3/image.fits' >>> wf3cte(filename)