get_flt_info¶
- grizli.utils.get_flt_info(files=[], columns=['FILE', 'FILTER', 'PUPIL', 'INSTRUME', 'DETECTOR', 'TARGNAME', 'DATE-OBS', 'TIME-OBS', 'EXPSTART', 'EXPTIME', 'PA_V3', 'RA_TARG', 'DEC_TARG', 'POSTARG1', 'POSTARG2'], translate={'DEC_TARG': 'TARG_DEC', 'EXPTIME': 'EFFEXPTM', 'PA_V3': 'ROLL_REF', 'RA_TARG': 'TARG_RA'}, defaults={'PA_V3': 0.0, 'PUPIL': '---', 'TARGNAME': 'indef'}, jwst_detector=True)[source]¶
Extract header information from a list of FLT files
- Parameters
- fileslist, optional
List of exposure filenames. If not provided, it will search for all “*flt.fits” files in the current directory.
- columnslist, optional
List of header keywords to extract from the FITS files. The default columns include: - “FILE”: Filename - “FILTER”: Filter used - “PUPIL”: Pupil element used - “INSTRUME”: Instrument name - “DETECTOR”: Detector name - “TARGNAME”: Target name - “DATE-OBS”: Observation date - “TIME-OBS”: Observation time - “EXPSTART”: Exposure start time - “EXPTIME”: Exposure time - “PA_V3”: Position angle of V3 axis - “RA_TARG”: Right ascension of target - “DEC_TARG”: Declination of target - “POSTARG1”: Post-slew offset in axis 1 - “POSTARG2”: Post-slew offset in axis 2
- translatedict, optional
Dictionary mapping header keywords to their corresponding FITS keywords. Default is JWST_TRANSLATE.
- defaultsdict, optional
Dictionary of default values for header keywords that are not present in the FITS files. Default values include: - “PUPIL”: “—” - “TARGNAME”: “indef” - “PA_V3”: 0.0
- jwst_detectorbool, optional
Flag indicating whether the FITS files are from JWST detectors. Default is True.
- Returns
- tab
Table
Table containing header keywords extracted from the FITS files.
- tab