ref_from_image
- ci_watson.hst_helpers.ref_from_image(input_image, reffile_lookup)[source]
Return a list of reference filenames, as defined in the primary header of the given input image, necessary for calibration.
- Parameters:
- input_imagestr
FITS image to extract info from.
- reffile_lookuplist of str
List of primary header keywords to check. Example:
['IDCTAB', 'OFFTAB', 'NPOLFILE', 'D2IMFILE']
- Returns:
- ref_fileslist of str
List of reference files needed for the test with given input file.