In models.fits, we include the trace model for each corresponding image in the input data model, order by order (for orders 1 to 3). We also include the aperture mask used in the box extraction, one per order, the same for all images.
In both, there are a few new header keywords that pertain to our method.
The output data model needs to be adapted to our outputs. Here is examples of outputs we want to create: https://venus.astro.umontreal.ca/~albert/jwst/1dspectra.fits https://venus.astro.umontreal.ca/~albert/jwst/models.fits
In models.fits, we include the trace model for each corresponding image in the input data model, order by order (for orders 1 to 3). We also include the aperture mask used in the box extraction, one per order, the same for all images.
In both, there are a few new header keywords that pertain to our method.