SPHEREx Cutout Capabilities

The SPHEREx Cutout Service enables users to extract spatial subsets from the large SPHEREx Spectral Image Multi-Extension FITS (MEF) files. These cutouts preserve the structure and metadata of the original files while providing smaller, more manageable datasets for analysis and visualization.

The primary SPHEREx data products are the Spectral Image MEFs, which can be several hundred megabytes in size. Because these files contain multiple Header Data Units (HDUs) with differing formats, World Coordinate Systems (WCSs), and cutout constraints, IRSA provides SPHEREx-specific cutout functionality designed to correctly handle all extensions and maintain spatial and spectral integrity.


Accessing SPHEREx Cutouts

IRSA offers multiple ways to obtain cutouts of SPHEREx Spectral Image MEFs held on-premises at IPAC.

1. Using the SPHEREx Data Explorer

  • Open the Spectral Image Search tab to locate Spectral Images of interest.
  • In the Results tab, use the scissors icon above the interactive display to specify a cutout size.
  • Select the desired Spectral Images and click Generate Download Script.
  • In the Download Options panel, choose cutouts to download a script that retrieves the selected cutout files.

2. Using a Direct URL

If you have obtained on-premises URLs for SPHEREx Spectral Images (e.g., through an API query or by inspection of the browsable directories), you can manually request a cutout by appending position and size parameters to the URL. For example:

curl -o cutout.fits "https://irsa.ipac.caltech.edu/ibe/data/spherex/qr/level2/2025W19_2B/l2b-v11-2025-163/3/level2_2025W19_2B_0073_2D3_spx_l2b-v11-2025-163.fits?center=156.09328159,-41.64466331&size=0.1"

3. Using Python

IRSA provides Python notebooks tutorials demonstrating how to create SPHEREx cutouts and interpret the associated PSF extensions: