spacetelescope / jwst

Python library for science observations from the James Webb Space Telescope
https://jwst-pipeline.readthedocs.io/en/latest/
Other
567 stars 167 forks source link

Improve extraction from unrectified NIRSpec data #8938

Open stscijgbot-jp opened 1 day ago

stscijgbot-jp commented 1 day ago

Issue JP-3794 was created on JIRA by Christian Hayes:

Extract1d currently uses a rectangular extraction box by default, which works well for resampled data, but is not always well-suited for unrectified data.  BOTS data for example is not resampled, so 1D extraction of the curved M and H grating traces can miss parts of the source spectra.

We would like to add an option for extracting spectra from unrectified NIRSpec data.  Ideally this would include setting an automatic trace for extraction (e.g., using WCS or trace fitting) and update extract1d to extract wavelengths in addition to fluxes.

stscijgbot-jp commented 1 day ago

Comment by Christian Hayes on JIRA:

Assigning to myself for now while the NIRSpec Team is investigating potential options.