Tool muse_badpix_from_dq
Detailed Description
muse_badpix_from_dq: Convert the DQ image extension to a BADPIX_TABLE.
Create a BADPIX_TABLE file from the DQ image extension of a MUSE master calibration file. It loads the DQ image extension, loops through all pixels and adds all bad pixels into the table. Optionally, it merges the image DQ information into an existing BADPIX_TABLE.
Command line arguments:
-i INTABLE (optional)
do not create a new BADPIX_TABLE but start from this one, i.e. either merge the table of the relevant IFU, or append a new one, if this IFU is not yet stored in the input file
INIMAGE
the filename of the input image file to use; it needs to contain a data quality extension
OUTTABLE
the filename of the output BADPIX_TABLE file to use
Return values:
0
Success
1
less than two filenames given
2
argument -i without filename
9
unknown option given
10
input image could not be loaded from file