wf3ir

wfc3tools.wf3ir.wf3ir(input, output=None, verbose=False, quiet=True, log_func=<built-in function print>)[source]

Call the wf3ir.e executable.

Use this function to facilitate batch runs.

Parameters:
inputstr

Name of input files, such as:

  • a single filename (iaa012wdq_raw.fits)

  • a Python list of filenames

  • a partial filename with wildcards (*raw.fits)

  • filename of an ASN table (*asn.fits)

  • an at-file (@input)

outputstr, optional

Name of the output FITS file. Default is None.

verbosebool, optional

If True, print verbose time stamps. Default is False.

quietbool, optional

If True, print messages only to trailer file. Default is True.

log_funcfunc

By default, the print function is used for logging to facilitate use in the Jupyter notebook.

Examples

>>> from wfc3tools import wf3ir
>>> filename = '/path/to/some/wfc3/image.fits'
>>> wf3ir(filename)