IRIS Data Reduction System design¶
Purpose¶
The IRIS Data Reduction System is planned to perform:
real-time (< 1 minute) and offline data processing of IRIS images and spectroscopic data with the
iris_pipelinePython package based on JWST’s pipeline packagestpipe, see the documentationraw readout processing from the IRIS imager and spectrograph into raw science quality frames with the C library
iris_readoutat https://github.com/oirlab/iris_readout, which will be used directly during real-time operations and will be wrapped into Python modules iniris_pipelinefor offline processing.visualization of raw and reduced data to facilitate data assessment and analysis for real-time and offline use. These tools will be developed later and will possibly be based on existing community software tools like DS9 or cubeviz.
Software infrastructure¶
We rely on the excellent work mostly by Space Telescope to grow the
Python in Astronomy ecosystem around the astropy package. They also
developed a suite of open-source tools to operate JWST based on their
experience operating the Hubble Space telescope.
The jwst Python package
bundles several tools:
a
jwst.datamodelpackage to handle custom schemas for complex hierarchical metadataa
stpipepackage to configure and execute processing pipelinesa large array of data processing modules to analyze data from all instruments on board of JWST
We leverage this effort by:
building a custom schema for IRIS
using
stpipeto execute our pipelinesstarting from JWST processing modules and customizing them for IRIS and publishing them on the
iris_pipelinerepository https://github.com/oirlab/iris_pipeline.
File format¶
All data will be stored in FITS file format, following as closest as possible the conventions by JWST, see https://jwst-docs.stsci.edu/display/JDAT/Working+with+FITS+Files.
Example run¶
The best way to understand how iris_pipeline works is to checkout an
example reduction of a raw science frame to a reduced
science frame with flat-fielding and background subtraction.
Access calibration files via the Calibration Reference Data System (CRDS)¶
Metadata¶
iris_pipeline requires a set of metadata from TMT and from other subsystems to process the data,
see the list of required metadata.
Moreover, iris_pipeline will add to the header of processed FITS files categorizing the data in:
OBSTYPE |
OBSNAME |
Description |
|---|---|---|
Calibration (CAL) |
IMG1-NFF, SLI-NFF LEN-SPX IMG1-DRK, SLI-DRK, LEN-DRK IMG1-TEL, SLI-TEL, LEN-TEL |
Flat field Lenslet Spectral Extraction Master dark Telluric Star |
Engineering (ENG) |
SLI-IDP, LEN-IDP |
Instrumental dispersion |
Science (SCI) |
IMG1-SCI, LEN-SCI, SLI-SCI IMG1-SKY, LEN-SKY, SLI-SKY |
Science Sky |