gbrammer / msaexp

Manual extraction of JWST NIRSpec spectra
MIT License
26 stars 28 forks source link

Generalize initialize slit object #26

Closed gbrammer closed 1 year ago

gbrammer commented 1 year ago

There seems to occasionally be a memory leak or something that causes different numbers of pixels to be masked in the drizzled outlier rejection. This update standardizes a function for initializing the SlitModel objects to include the updates to the DQ arrays and metadata keywords.

Other minor updates: