spacetelescope / jwst

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

Propagating additional DQ flags to the extract_1d step for WFSS and TSO #7219

Open stscijgbot-jp opened 2 years ago

stscijgbot-jp commented 2 years ago

Issue JP-2924 was created on JIRA by Alicia Canipe:

WFSS and TSO experts have expressed interest in propagating additional DQ flags to the extract_1d step. See discussion in JP-1921, where the decision was to stick with only excluding DO_NOT_USE pixels and capturing that pixels were excluded in the NPIXELS column, since other DQ flags are informational and are not used consistently yet. Teams will figure out if there is other information to carry over once they have flight data. This ticket is to capture the request for potentially propagating other DQ flags to the extract_1d step and excluding the pixels when they are summed in a given wavelength bin once that information is available. 

TSOWG input: what the [baseline] pipeline is doing right now is problematic at least for TSOs. Because some measurements are differential (e.g., for transit/eclipse/phase-curve exoplanet science) if that same x1d column has that pixel flagged in every integration then this might not be a problem if you analyze every lightcurve at the column-level (i.e., if N pixels decrease 99% of their flux during transit, N doesn't really matter once you divide your lightcurve by the total out-of-transit flux). However, most folks will be analyzing wavelength (i.e., x1d column) {}bins{}, on which this current approach at extracting the spectra is troublesome (it weights the differential lightcurve outside of that particular wavelength/column bin).

stscijgbot-jp commented 2 years ago

Comment by Alicia Canipe on JIRA:

No calwg_xxx priority assigned yet, since more input from the instrument teams is needed before the ticket goes to SCSB. 

stscijgbot-jp commented 1 year ago

Comment by Anton Koekemoer on JIRA:

checking in with some relevant people (Nestor Espinoza  Nikolay Nikolov or others?) to get a more specific idea of what the actual recommendation is from the TSO WG / instrument teams about the implementation for this, so that it can be scheduled a future discussion with the CalWG.

stscijgbot-jp commented 1 year ago

Comment by Anton Koekemoer on JIRA:

also tagging Kevin Volk  for more specific recommendations from NIRISS