dump_flt_dq

grizli.utils.dump_flt_dq(filename, replace=('.fits', '.dq.fits.gz'), verbose=True)[source]

Dump FLT/FLC header & DQ extensions to a compact file

Parameters:
filename : str

FLT/FLC filename.

replace : (str, str)

Replace arguments for output filename:

>>> output_filename = filename.replace(replace[0], replace[1])
Returns:
Writes header and compact DQ array to output_filename.