spacetelescope / ullyses

Code to create products for the ULLYSES program
https://ullyses.stsci.edu/
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Calibrate one or more STIS exposures per grating #15

Closed jotaylor closed 2 years ago

jotaylor commented 2 years ago

Previously, the STIS recalibration code required a YAML file that listed only one input file to recalibrate per grating. There was no way to specify multiple files, since we only take 1 observation per grating for ULLYSES targets.

However, some TTS did not pass BOP checks for COS, so instead, multiple STIS/G140L and STIS/G230L exposures were taken to get the required wavelength coverage. This required a change to support the calibration of multiple files per grating.

These updates allow for the calibration of one or more files per grating by changing the YAML file structure (and read-in of that file).

I have tested this myself but will assign Svea since she had a target that was previously failing.