fix_flt_nan¶
- grizli.utils.fix_flt_nan(flt_file, bad_bit=4096, verbose=True)[source]¶
Fix NaN values in FLT files
- Parameters
- flt_filestr
Path to the FLT file to fix NaN values.
- bad_bitint, optional
Bad bit value to be set in the DQ extension for NaN pixels. Default is 4096.
- verbosebool, optional
If True, print information about the number of NaN pixels fixed. Default is True.