acscte
- acstools.acscte.acscte(input, exec_path='', time_stamps=False, verbose=False, quiet=False, single_core=False, exe_args=None)
Run the acscte.e executable as from the shell.
Expect input to be
*_blv_tmp.fits. Output is automatically named*_blc_tmp.fits.- Parameters:
- inputstr or list of str
Input filenames in one of these formats:
a single filename (‘j1234567q_blv_tmp.fits’)
a Python list of filenames
a partial filename with wildcards (’*blv_tmp.fits’)
filename of an ASN table (‘j12345670_asn.fits’)
an at-file (
@input)
- exec_pathstr, optional
The complete path to ACSCTE executable. If not given, run ACSCTE given by ‘acscte.e’.
- time_stampsbool, optional
Set to True to turn on the printing of time stamps.
- verbosebool, optional
Set to True for verbose output.
- quietbool, optional
Set to True for quiet output.
- single_corebool, optional
CTE correction in ACSCTE will by default try to use all available CPUs on your computer. Set this to True to force the use of just one CPU.
- exe_argslist, optional
Arbitrary arguments passed to underlying executable call. Note: Implementation uses subprocess.call and whitespace is not permitted. E.g. use exe_args=[’–nThreads’, ‘1’]