Data reduction pipeline for the CHARIS integral-field spectrograph I: Detector readout calibration and data cube extraction

Timothy D. Brandt, Maxime Rizzo, Tyler Groff, Jeffrey Chilcote, Johnny P. Greco, N. Jeremy Kasdin, Mary Anne Limbach, Michael Galvin, Craig Loomis, Gillian Knapp, Michael W. McElwain, Nemanja Jovanovic, Thayne Currie, Kyle Mede, Motohide Tamura, Naruhisa Takato, Masahiko Hayashi

Research output: Contribution to journalArticlepeer-review

51 Scopus citations


We present the data reduction pipeline for CHARIS, a high-contrast integral-field spectrograph for the Subaru Telescope. The pipeline constructs a ramp from the raw reads using the measured nonlinear pixel response and reconstructs the data cube using one of three extraction algorithms: Aperture photometry, optimal extraction, or χ2 fitting. We measure and apply both a detector flatfield and a lenslet flatfield and reconstruct the wavelength-A nd position-dependent lenslet point-spread function (PSF) from images taken with a tunable laser. We use these measured PSFs to implement a χ2-based extraction of the data cube, with typical residuals of ∼5% due to imperfect models of the undersampled lenslet PSFs. The full two-dimensional residual of the χ2 extraction allows us to model and remove correlated read noise, dramatically improving CHARIS's performance. The χ2 extraction produces a data cube that has been deconvolved with the line-spread function and never performs any interpolations of either the data or the individual lenslet spectra. The extracted data cube also includes uncertainties for each spatial and spectral measurement. CHARIS's software is parallelized, written in Python and Cython, and freely available on github with a separate documentation page. Astrometric and spectrophotometric calibrations of the data cubes and PSF subtraction will be treated in a forthcoming paper.

Original languageEnglish (US)
Article number048002
JournalJournal of Astronomical Telescopes, Instruments, and Systems
Issue number4
StatePublished - Oct 1 2017

All Science Journal Classification (ASJC) codes

  • Electronic, Optical and Magnetic Materials
  • Control and Systems Engineering
  • Instrumentation
  • Astronomy and Astrophysics
  • Mechanical Engineering
  • Space and Planetary Science


  • Data processing
  • deconvolution
  • infrared spectroscopy
  • multispectral imaging
  • point-spread functions
  • tunable lasers


Dive into the research topics of 'Data reduction pipeline for the CHARIS integral-field spectrograph I: Detector readout calibration and data cube extraction'. Together they form a unique fingerprint.

Cite this