spacetelescope / jwst

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

IFU detector-based spectral extraction for point sources #6049

Open stscijgbot-jp opened 3 years ago

stscijgbot-jp commented 3 years ago

Issue JP-2088 was created on JIRA by David Law:

There are multiple percent-level effects that will influence extracted spectra of point sources that cannot be corrected for with the currently-implemented method of building data cubes and then extracting spectra from those cubes.  Indeed, building data cubes for known point sources isn't the best way of working with the data as it introduces unnecessary covariance.

We therefore propose a mechanism for extraction of point source spectra directly from the calibrated 2d detector data in a manner that can easily account for across-slice wavelength offsets, across-slice transmission losses, and the MRS spectral leak.  Each of these effects is impossible to generically correct for in data cube space, but simple to address when extracting a point source directly from the 2d data.

This mechanism may at some point make sense to incorporate into the Optimal pipeline architecture; in the meantime we're looking for Cal WG feedback on the methodology and the potential for incorporating it into offline analysis tools.

Discussion scheduled for July 6 Cal WG, to be presented by Yannis Argyriou.

stscijgbot-jp commented 2 years ago

Comment by David Law on JIRA:

This ticket supersedes the old https://jira.stsci.edu/browse/JP-855

stscijgbot-jp commented 2 years ago

Comment by Anton Koekemoer on JIRA:

Scheduled for discussion at JWST Cal WG Meeting 2021-07-06

stscijgbot-jp commented 2 years ago

Comment by Anton Koekemoer on JIRA:

This was discussed at JWST Cal WG Meeting 2021-07-06; see minutes for next steps.

stscijgbot-jp commented 2 years ago

Comment by David Law on JIRA:

Updating this ticket to reflect recent progress.  This algorithm has now been implemented in a JDAT notebook.  This notebook needs to access relevant calibration reference data that does not yet exist in CRDS.  CRDS ticket https://jira.stsci.edu/browse/CRDS-541 has been created to implement this filetype based on an initial version of the reference file.  Pull request #6762 implements a datamodel and schema for this reference file within jwst.

stscijgbot-jp commented 2 years ago

Comment by Howard Bushouse on JIRA:

Datamodel schema needed to support new reference file type implemented in #6762