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


Calibration flags are controlled by primary header.


Do not use with SBC MAMA images.


In Python without TEAL (recommended):

>>> from acstools import acsccd
>>> acsccd.acsccd('*raw.fits')

In Python with TEAL:

>>> from import teal
>>> from acstools import acsccd
>>> teal.teal('acsccd')

For help usage use exe_args=['--help']

acstools.acsccd.acsccd(input, exec_path='', time_stamps=False, verbose=False, quiet=False, exe_args=None)

Run the acsccd.e executable as from the shell.

Expect input to be *_raw.fits. Output is automatically named *_blv_tmp.fits.

  • input (str or list of str) –

    Input filenames in one of these formats:

    • a single filename (‘j1234567q_raw.fits’)
    • a Python list of filenames
    • a partial filename with wildcards (‘*raw.fits’)
    • filename of an ASN table (‘j12345670_asn.fits’)
    • an at-file (@input)
  • exec_path (str, optional) – The complete path to ACSCCD executable. If not given, run ACSCCD given by ‘acsccd.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.
  • exe_args (list, optional) – Arbitrary arguments passed to underlying executable call. Note: Implementation uses and whitespace is not permitted. E.g. use exe_args=[‘–nThreads’, ‘1’]