Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

SPHEREx Archive at IRSA User Guide

SPHEREx Data Products

Here we provide a concise summary of the science, calibration, and additional data products available at IRSA. This summary includes filename conventions (for directory naming conventions, see Browsable Directories), for which we adopt the following definitions:

Science Data Products

Spectral Image Multi-Extension FITS Files (MEF)

The main data product of DR1 and the Quick Releases is the Level 2 Spectral Image MEF, as described in Section 2.2 of the Explanatory Supplement.

There are 6 Spectral MEFs (one for each detector) for each sky pointing. Because data quality assessments are evaluated per spectral image band, some observations will not include all 6 bands in the archive. Each Spectral MEF is approximately 70 MB and contains 6 extensions:

HDU 1: IMAGE

Calibrated surface brightness flux density in units of MJy/sr, stored as a 2040 x 2040 image. No zodiacal light subtraction is applied.

The SPHEREx focal plane is split with a dichroic to three short-wavelength and three long-wavelength detector arrays. Two focal plane assemblies (FPAs) simultaneously image the sky through a dichroic beam splitter. Each FPA contains three 2K x 2K detector arrays placed behind a set of linear variable filters (LVFs), providing narrow-band response with a band center that varies along one axis of the array. SPHEREx obtains spectra through multiple exposures, placing a given source at multiple positions in the field of view, where it is measured at multiple wavelengths by repointing the spacecraft.

  • Band 1: λ= 0.75 - 1.09 µm; R=39

  • Band 2: λ= 1.10 - 1.62 µm; R=41

  • Band 3: λ= 1.63 - 2.41 µm; R=41

  • Band 4: λ= 2.42 - 3.82 µm; R=35

  • Band 5: λ= 3.83 - 4.41 µm; R=112

  • Band 6: λ= 4.42 - 5.00 µm; R=128

HDU 2: FLAGS

Bitmap of per-pixel status and processing flags, stored as a 2040 x 2040 image. The flag definitions are provided in Table 16 of the SPHEREx Explanatory Supplement.

HDU 3: VARIANCE

Variance of calibrated surface brightness flux in units of (MJy/sr)^2, stored as a 2,040 x 2,040 image.

HDU 4: ZODI

Modeled zodiacal light background flux in units of MJy/sr, stored as a 2040 x 2040 image. This has not been subtracted from the IMAGE extension.

HDU 5: EPSF (DR1 and QR3) / PSF (QR2 and QR1)

For DR1 and QR3, this extension contains a binary table of spatially varying effective point spread functions (ePSFs). Each ePSF is a 33 × 33 pixel array, oversampled by a factor of five. See Effective Point Spread Functions (ePSFs) for more information. For QR2 and QR1, this extension contained a cube of 121 point spread functions (PSFs), each represented as a 101 x 101 image.

HDU 6: WCS-WAVE

Spectral World Coordinate System (WCS) FITS-compliant lookup table that maps spectral image pixel coordinates to central wavelengths and bandwidths. The lookup table consists of 1 row with 3 columns (X, Y, VALUES).

X and Y are each arrays defining a grid of control points in spectral image pixel space.

VALUES is an array of two-element arrays: at each (X, Y) control point, the two-element array contains the central wavelength and the corresponding bandwidth.

Filename Format:

Example:

All-Sky Cube (DR1 Only)

The SPHEREx All-Sky Cube is a set of spectral data cubes covering the whole sky, built from the DR1 Spectral Images. It is described in Section 2.5 of the SPHEREx Explanatory Supplement. Key points:

Known issues (see Section 2.5.2 of the Explanatory Supplement for details):

In addition, be aware that the tiles are in the HEALPix (HPX) projection, which many FITS viewers don’t display properly, so objects can appear distorted.

Each FITS cube is a multi-extension FITS file with 5 extensions:

HDU 1: IMAGE
Surface brightness in units of MJy/sr, stored as a 512 x 512 x 102 cube.
HDU 2: NHITS
Number of input image pixels that contributed to each cube pixel, stored as a 512 x 512 x 102 cube.
HDU 3: FLAGS
Bitmap of per-pixel status and processing flags propagated from the input pixels, stored as a 512 x 512 x 102 cube. The flag definitions are the same as those used for the Spectral Image MEFs. Input pixels with certain flags were excluded from the cube; see Section 2.5 of the Explanatory Supplement for the list.
HDU 4: SPECTRAL_CHANNELS
Table of the central and edge wavelengths of each of the 102 spectral channels.
HDU 5: WCS-WAVE
Spectral WCS lookup table, as in the Spectral Image MEF.

Filename Format:

Example:

Cutouts of Spectral Image MEFs

IRSA’s Cutout Service provides spatial subsets of the SPHEREx Spectral Image MEFs. Information on how to use the Cutout Service is provided in the Cutouts of SPHEREx Spectral Image MEFs section of this User Guide. The cutout MEFs returned from this service contain the same HDUs as the original Spectral Images (IMAGE, FLAGS, VARIANCE, ZODI, EPSF, WCS-WAVE). However, the IMAGE, FLAGS, VARIANCE, and ZODI HDUs have been modified to include only those pixels within the specified cutout size. The WCS-WAVE HDU is also modified to provide the correct mapping between the pixels in the cutout and wavelength.

The EPSF extension from the original Spectral Image is included unmodified in the cutout MEF and contains spatially varying effective point spread functions. For QR1 or QR2 cutouts downloaded previously, obtain the ePSFs separately. See the Python notebook tutorial SPHEREx PSF Models for instructions for all data releases.

Calibration Data Products

Absolute Gain Matrix

The Absolute Gain Matrix products are ~16 MB FITS image files (one per detector) with dimensions 2,040 × 2,040 and units of (MJy/sr) / (e−/s).

Filename Format:

Example:

Effective Point Spread Functions (ePSFs)

The Effective Point Spread Functions (ePSFs; DR1 and QR3 only) are ~8 MB FITS binary tables, one per detector, each with one row per detector zone. Detectors 1, 2, 4, 5, and 6 are divided into regular spatial grids of 21 × 21 zones. Detector 3 is divided into 11 × 41 zones with finer sampling along the dispersion direction to better capture small variations. Each ePSF is a two-dimensional array of size 33 × 33 pixels. The ePSFs are oversampled by a factor of five relative to the native detector pixels.

The tutorial Understanding and Extracting the ePSF Extension in a SPHEREx Cutout demonstrates how to work with the ePSF.

Filename Format:

Example:

Exposure-Averaged Point Spread Functions (PSFs)

The Exposure-Averaged Point Spread Functions (PSFs; QR2 and QR1 only) are ~6 MB FITS cubes (one for each detector) with dimensions 101 × 101 × 121. Each of the 121 layers represents a “super-resolution” PSF estimate in a different region (defined by an 11x11 grid) of the detector. Each PSF is a two-dimensional array with a size of 101 × 101 pixels. The PSFs are oversampled such that 10 PSF pixels (0.615 arcsec each) cover the same spatial extent as one spectral image pixel (6.15 arcsec).

Filename Format:

Example:

Users interested in performing photometry on previously downloaded QR1 or QR2 data will need to select the correct PSF plane for their desired position. The basic steps are described below to help users get started with a simple implementation.

  1. Determine the 0-based pixel coordinates of the position of interest in the cutout IMAGE HDU. Astropy’s world_to_pixel() function returns 0-based coordinates directly and is a natural choice for this.

  2. Convert to 0-based pixel coordinates in the original Spectral Image using the CRPIX1A and CRPIX2A header keywords:

    xpix_orig = 1 + xpix_cutout - CRPIX1A
    ypix_orig = 1 + ypix_cutout - CRPIX2A

    CRPIX1A and CRPIX2A are FITS keywords stored in 1-based convention. The +1 converts xpix_cutout from 0-based to 1-based before subtracting, so that xpix_orig comes out 0-based, which is then consistent with the PSF zone coordinates in step 3.

  3. Identify the PSF cube plane by comparing (xpix_orig, ypix_orig) against the zone centers in the PSF HDU header.

    The PSF HDU header contains keywords XCTR_i and YCTR_i for i = 1 to 121. The values of XCTR_i and YCTR_i are 0-based pixel coordinates in the original Spectral Image, so they can be compared directly to xpix_orig and ypix_orig. Find the index i whose center is closest to your position. The corresponding PSF is in cube plane i − 1 (the keyword index i is 1-based, but the cube array is 0-indexed).

Dark Current

The Dark Current products are ~16 MB FITS image files (one per detector) with dimensions 2,040 x 2,040 and units of electron/s.

Filename Format:

Example:

Dichroic

The Dichroic products are ~16 MB FITS image files with dimensions 2,040 x 2,040. The pixel value is 0 for pixels that are unaffected by flux attenuation due to the dichroic filter and 1 for impacted pixels. A pixel is considered impacted if the flux attenuation is 50% or higher. Note that only bands 3 and 4 have any non-zero values.

Filename Format:

Example:

Electronic Gain Factors

The Electronic Gain Factor product is a single YAML file that includes the provenance information for the detectors and a list of 32 gain values per detector.

Filename Format:

Example:

Additional Data Products

Spectral WCS

The Spectral WCS products are ~32 MB multi-extension FITS files (one per detector). Each file has 3 extensions: CWAVE, CBAND, and WCS-WAVE. For science analysis, use the values in the CWAVE and CBAND layers, not the WCS-WAVE extension, which is intended for visualization.

CWAVE is an image with dimensions 2,040 x 2,040. It contains the central wavelength in microns for each pixel.

CBAND is an image with dimensions 2,040 x 2,040. It contains the bandwidth in microns for each pixel.

WCS-WAVE is a table with 3 columns (X, Y, VALUES) and 1 row. This is equivalent to the WCS-WAVE extension in the Spectral Image MEF file described above.

Filename Format:

Example:

Spectral Channels

The Spectral Channels product is an image with dimensions 2,040 x 2,040 pixels. Each pixel value is the index (0-18) of the spectral channel assigned to that detector pixel, used to build image mosaics. This geometric definition is not the same as the pixel’s calibrated wavelength. The file also includes a table of the median band center, band center range, and median resolving power for each channel.

Filename Format:

Example:

Simple Imaging Polynomials (SIP)

The Simple Imaging Polynomials (SIP) products are delivered as one FITS image file per band with the SIP coefficients in the header.

Filename Format:

Example:

Auroral Line Template

The Auroral Line Template (DR1 and QR3 only) is an image with dimensions 2,040 x 2,040 pixels. It includes atmospheric emission lines generated by excited atoms and molecules (primarily nitrogen) in the upper atmosphere. It was generated for band 1 only.

Filename Format:

Example:

He Emission Template

The He Emission Template (DR1 and QR3 only) is an image with dimensions 2,040 x 2,040 pixels. It includes atmospheric He emission. It was generated for bands 1 and 2 only.

Filename Format:

Example:

Shuttle Glow Template

The Shuttle Glow Template (DR1 and QR3 only) is an image with dimensions 2,040 x 2,040 pixels. It includes emission produced when spacecraft in Low Earth orbit interact with the atmosphere. It was generated for band 5 only.

Filename Format:

Example:

Nonfunctional Pixels

The Nonfunctional Pixel products are ~32 MB FITS image files (one per detector) with dimensions 2,040 x 2,040. Pixel values are 1 for pixels known to be permanently non-functioning and 0 otherwise.

Filename Format:

Examples:

Nonlinearity Parameters

The Nonlinearity Parameter products are ~79 MB multi-extension FITS files (one per detector). Each file contains 5 extensions (Q_nl, b1, b2, b3, Qmax), each of which is an image with dimensions 2,040 x 2,040. These extensions are described in Section 3.2.2 of the SPHEREx Explanatory Supplement.

Filename Format:

Example:

Read Noise Parameters

The Read Noise Parameters products are ~48 MB multi-extension FITS files (one per detector). Each file has 2 extensions: READNOISE-1 and READNOISE-2. Each extension is an image with dimensions 2040 × 2040 and units of electrons.

Filename Format:

Example:

Solid Angle Pixel Map

The Solid Angle Pixel Map products are ~16 MB FITS image files (one per detector) with dimensions 2,040 x 2,040. Pixel values measure the solid angle in units of squared arcsec.

Filename Format:

Example:

Crosstalk Parameters

The Crosstalk Parameters products (DR1 and QR3 only) are ECSV (Enhanced Character Separated Value) files containing masking parameters.

Filename Format:

Example:

Zodi Scaling

The Zodi Scaling products (DR1 and QR3 only) are ECSV files, one per detector, containing the scaling factor used to adjust the Kelsall et al. (1998) zodiacal light model.

Filename Format:

Example:

Flux Corrections

The Flux Corrections products (DR1 and QR3 only) are FITS image files with dimensions 2,040 x 2,040 pixels. They contain per-pixel scaling factors that can be used to combine QR2 data (calibrated with the previous gain) with either DR1 or QR3 data (calibrated with the new gain). Flux corrections are not needed when combining DR1 and QR3 Spectral Images.

Filename Format:

Example: