ACSSUM

The acssum module contains a function acssum that calls the ACSSUM executable. Use this function to facilitate batch runs of ACSSUM, or for the TEAL interface.

Examples

In Python without TEAL:

>>> from acstools import acssum
>>> acssum.acssum('*flt.fits', 'combined_image.fits')

In Python with TEAL:

>>> from stsci.tools import teal
>>> from acstools import acssum
>>> teal.teal('acssum')

In Pyraf:

--> import acstools
--> epar acssum
acstools.acssum.acssum(input, output, exec_path='', time_stamps=False, verbose=False, quiet=False)

Run the acssum.e executable as from the shell.

Parameters:
  • input (str or list of str) –

    Input filenames in one of these formats:

    • a Python list of filenames
    • a partial filename with wildcards (‘*flt.fits’)
    • filename of an ASN table (‘j12345670_asn.fits’)
    • an at-file (@input)
  • output (str) – Output filename. If output is ‘’ and input is ‘*_asn.fits’, output will be automatically set to ‘*_sfl.fits’. Otherwise, it is an error not to provide a specific output.
  • exec_path (str, optional) – The complete path to ACSSUM executable. If not given, run ACSSUM given by ‘acssum.e’.
  • time_stamps (bool, optional) – Set to True to turn on the printing of time stamps.
  • verbose (bool, optional) – Set to True for verbose output.
  • quiet (bool, optional) – Set to True for quiet output.