JWST Pipeline Overview Macarena Garcia Marin European Space

  • Slides: 21
Download presentation
JWST Pipeline Overview Macarena Garcia Marin European Space Agency ESA UNCLASSIFIED - For Official

JWST Pipeline Overview Macarena Garcia Marin European Space Agency ESA UNCLASSIFIED - For Official Use

Outline Ø The JWST pipeline: Introduction. Ø Overall pipeline architecture. Ø Stages of the

Outline Ø The JWST pipeline: Introduction. Ø Overall pipeline architecture. Ø Stages of the pipeline development: Baseline, Optimal. Ø Example of optimal algorithms. Ø Pipeline availability. Ø What data will be available? Specific examples of data products. ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 2

The JWST Pipeline: Introduction Ø The pipeline is being developed and coded at STSc.

The JWST Pipeline: Introduction Ø The pipeline is being developed and coded at STSc. I. The working group responsible for that work is the “JWST Calibration WG” led by K. Gordon. Ø The group receives inputs from the JWST instrument teams and experts in specific observing modes: § NIRCam team § NIRSpec team § NIRISS team § FGS team § MIRI team § Coronagraphy WG § TSO (time series observations) WG. § Moving targets Instrument experts with science expertise. Ground testing. Delivery of Calibration data products. Special cases. Science experts; includes instruments expertise Ø When possible, common steps and code are used for different instruments (e. g. MIRI and NIRSpec IFUs). ESA UNCLASSIFIED - For Official Use Based on original slide from K. Gordon Rome meeting ESA | 17/March/2017 | Slide 3

The JWST Pipeline: Introduction Ø The pipeline is being developed and coded at STSc.

The JWST Pipeline: Introduction Ø The pipeline is being developed and coded at STSc. I. The working group responsible for that work is the “JWST Calibration WG” led by K. Gordon. Ø The group receives inputs from the JWST instrument teams and experts in specific observing modes: § agreement, steps get accepted NIRSpec team and then implementation starts. NIRISS team Often based on Instrument code/algorithms developed experts with science background. FGS team testing. Testing Delivery of Calibration data products. by instrument. Ground teams. and feedback. MIRI team Part of a broader ground system Coronagraphy WG § TSO (time series observations) WG. § Moving targets § § § NIRCam team Discussion, Special cases. Science experts; includes instruments expertise Ø When possible, common steps and code is defined for different instruments (e. g. MIRI and NIRSpec IFUs). ESA UNCLASSIFIED - For Official Use Ø . Based on original from K. Gordon Rome meeting ESAslide | 17/March/2017 | Slide 4

Overall Pipeline Architecture CALDETECTOR 1 CALSPEC 2 CALIMAGE 3 ESA UNCLASSIFIED - For Official

Overall Pipeline Architecture CALDETECTOR 1 CALSPEC 2 CALIMAGE 3 ESA UNCLASSIFIED - For Official Use CALCORON 3 CALAMI 3 CALTSO 3 Rome meeting CALSPEC 3 ESA | 17/March/2017 | Slide 5

Overall Pipeline Architecture (1) CALDETECTOR 1 signal Convert raw data into a slope image

Overall Pipeline Architecture (1) CALDETECTOR 1 signal Convert raw data into a slope image (units DN/s). Example steps: BIAS, linearity, cosmic rays… NIR detectors have all steps in common. MIRI has some specific corrections characteristic to Si. As IBC detectors. Time (groups) ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 6

Overall Pipeline Architecture (2) CALIMAGE 2 CALSPEC 2 Individual exposures are further processed and

Overall Pipeline Architecture (2) CALIMAGE 2 CALSPEC 2 Individual exposures are further processed and calibrated. Example steps: WCS assigned/distortion coefficients, flat field, fringes, stray light, flux calibration (MJy/Str). Detector plane. The AMI/TSO/Coronagraph data are processed by these branches (and CALDETECTOR 1), but in some case (TSO) skipping some steps. ESA UNCLASSIFIED - For Official Use Image credit: T. Rawle Rome meeting ESA | 17/March/2017 | Slide 7

Overall Pipeline Architecture (3) CALIMAGE 3 CALCORON 3 CALAMI 3 CALTSO 3 CALSPEC 3

Overall Pipeline Architecture (3) CALIMAGE 3 CALCORON 3 CALAMI 3 CALTSO 3 CALSPEC 3 Step 3 of the pipeline builds the datacubes, puts together dithers and mosaics, performs background matching, datacube stitching, and spectral subtraction. CALIMAGE 3 ESA UNCLASSIFIED - For Official Use Drizzle Pac. Images Credit: STSc. I Rome meeting ESA | 17/March/2017 | Slide 8

Overall Pipeline Architecture (3) CALIMAGE 3 CALCORON 3 CALAMI 3 CALTSO 3 CALSPEC 3

Overall Pipeline Architecture (3) CALIMAGE 3 CALCORON 3 CALAMI 3 CALTSO 3 CALSPEC 3 Step 3 of the pipeline builds the datacubes, puts together dithers and mosaics, performs background matching, datacube stitching, and spectral subtraction. CALSPEC 3 Cube building and associations ESA UNCLASSIFIED - For Official Use Images credit: A. Glauser, A. Labiano Rome meeting ESA | 17/March/2017 | Slide 9

Overall Pipeline Architecture Convert raw data into a slope image (units DN/s). Example steps:

Overall Pipeline Architecture Convert raw data into a slope image (units DN/s). Example steps: BIAS, linearity, cosmic rays… CALDETECTOR 1 CALSPEC 2 CALIMAGE 3 CALCORON 3 CALAMI 3 ARCHIVE ESA UNCLASSIFIED - For Official Use CALTSO 3 Individual exposures are further processed and calibrated. Example steps: WCS assigned/distortion coefficients, flat field, fringes, stray light, flux calibration (MJy/Str). Detector plane. CALSPEC 3 Step 3 of the pipeline builds the datacubes, puts together dithers and mosaics, performs background matching, datacube stitching, and spectral subtraction. Rome meeting ESA | 17/March/2017 | Slide 10

Stages of the pipeline development Baseline pipeline: Ø Process data from all instruments and

Stages of the pipeline development Baseline pipeline: Ø Process data from all instruments and modes. Ø Delivers good quality science data (i. e. meets requirements). Ø Algorithms have been agreed and the development is in progress. Ø Simulated data has been requested to support the correct implementation of steps 3 of the pipeline. Ø Should be completed by December 2017. Ø Final testing/iterations will start in early 2018. ESA UNCLASSIFIED - For Official Use Based on Rome meeting original slide from K. | Slide Gordon ESA | 17/March/2017 11

Stages of the pipeline developement Optimal pipeline: Ø Best data reduction. Ø Optimized science

Stages of the pipeline developement Optimal pipeline: Ø Best data reduction. Ø Optimized science quality data. Ø The structure of this pipeline is defined, but it is a long term goal. Ø After launch, the understanding of the data will improve and so will the pipeline. This will be an iterative process. Ø All archive data will be reprocessed with successive and improved versions of the software. Ø The work on this will start after the baseline pipeline is finished. ESA UNCLASSIFIED - For Official Use Based on original from K. Gordon Rome meeting ESAslide | 17/March/2017 | Slide 12

Examples of optimal algorithms Ø Improvements in slope fitting: ØWeighted linear to generalized least

Examples of optimal algorithms Ø Improvements in slope fitting: ØWeighted linear to generalized least squares. Ø Optimal spectral extraction using knowledge of spatial profile. Ø MIRI self calibration. Ø Residual fringes. ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 13

Pipeline Availability Ø Written in python (uses astropy). Ø Freely available. Ø Configurable Ø

Pipeline Availability Ø Written in python (uses astropy). Ø Freely available. Ø Configurable Ø Users can rerun all or part of the pipeline. It can be stopped at any point, some step can be replaced with specialized analysis can be carried out, and the re-start it again. Ø Hosted on github. Ø Part of astroconda. Ø Official release early 2018. § Will include high level and detailed code documentation (documentation work starting now) ESA UNCLASSIFIED - For Official Use Based on original from K. Gordon Rome meeting ESA slide | 17/March/2017 | Slide 14

What data will be available? Ø Raw data Ø Intermediate-processed data Ø Final product:

What data will be available? Ø Raw data Ø Intermediate-processed data Ø Final product: § Best quality from the automated pipeline. § Flux, wavelength and position calibrated. § Mosaics combinations and individual tiles. Ø Any user can rerun the pipeline offline. ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 15

Imaging data products Ø Mosaic of all images with the same filter using sky

Imaging data products Ø Mosaic of all images with the same filter using sky coordinates (e. g. , ra, dec). Ø Catalog of sources automated generation. Ø Integration level. § All images fully corrected with flagging of CRs, etc. In detector & sky(rectified) coordinates ESA UNCLASSIFIED - For Official Use Image credit: Gordon et al. 2015 Based on original slide from K. Gordon Rome meeting ESA | 17/March/2017 | Slide 16

Spectroscopic data products. Ø Slit & Slitless: 2 D spectral image. § Along-slit and

Spectroscopic data products. Ø Slit & Slitless: 2 D spectral image. § Along-slit and wavelength. § Includes MOS targets (each processed separately) Ø IFU: 3 D spectral cube. § Ra, Dec, and wavelength Ø Extracted spectrum for the target source Integration level. User will specify in APT whether source is point, extended o unknown. Ø All images fully corrected with flagging of CRs, etc. § In detector & sky(rectified) coordinates. § 3 D cubes or 2 D images depending on observation type Based on original slide from K. Gordon ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 17

Spectroscopic data products. ESA UNCLASSIFIED - For Official Use Gordon et al. 2015 Rome

Spectroscopic data products. ESA UNCLASSIFIED - For Official Use Gordon et al. 2015 Rome meeting ESA | 17/March/2017 | Slide 18

Coronagraphic data products Ø Coadded images § In detector coordinates. § After PSF subtraction.

Coronagraphic data products Ø Coadded images § In detector coordinates. § After PSF subtraction. Ø Integrations Level § All images fully calibrated with flagging of CRs, etc. § In detector & sky(rectified) coordinates Image credit: Gordon et al. 2015 ESA UNCLASSIFIED - For Official Use Based on original slide from K. Gordon Rome meeting ESA | 17/March/2017 | Slide 19

Aperture Masking Interferometry Data Products Ø Fringe parameters. § Closure phases and amplitudes Ø

Aperture Masking Interferometry Data Products Ø Fringe parameters. § Closure phases and amplitudes Ø Reconstructed images Images Credit: Artigau et al. 2014 Based on original slide from K. Gordon ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 20

Time Series Observation Data Products Ø Photometry. § Aperture photometry per integration. Ø Spectroscopy.

Time Series Observation Data Products Ø Photometry. § Aperture photometry per integration. Ø Spectroscopy. § Extracted spectrum per integration. § White-light photometry per integration. Ø Integration level. § Image or spectral image as appropriate fully corrected with flagging of CRs, etc. § In detector & sky(rectified) coordinates Based on original slide from K. Gordon ESA UNCLASSIFIED - For Official Use Rome meeting ESA | 17/March/2017 | Slide 21