Issue
A&A
Volume 711, July 2026
Euclid Quick Data Release (Q1)
Article Number A6
Number of page(s) 19
Section Catalogs and data
DOI https://doi.org/10.1051/0004-6361/202554627
Published online 30 June 2026

© The Authors 2026

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. This email address is being protected from spambots. You need JavaScript enabled to view it. to support open access publication.

1. Introduction

Slitless spectroscopy, also known as dispersed imaging, is one of the two operating modes of the Near Infrared Spectrometer and Photometer (NISP; Euclid Collaboration: Jahnke et al. 2025), one of the two instruments (along with VIS; Euclid Collaboration: Cropper et al. 2025) on board Euclid (Euclid Collaboration: Mellier et al. 2025). This operating mode involves a high multiplexing spectrographic technique that allows for the simultaneous dispersion of light from all sources within a given field of view, thus eliminating the need for traditional targeted apertures or slits and thereby enabling efficient spectroscopic measurements across vast regions ofthe sky.

The spectroscopic exposures captured by the NISP spectrometer (hereafter NISP-S) undergo comprehensive processing to generate scientifically valuable decontaminated and wavelength- and flux-calibrated combined one-dimensional spectra. This processing is handled by the SIR PF (processing function, a collection of data-reduction pipelines) within the Euclid science ground segment (SGS). The SIR PF produces spectra for all entries listed in the source catalogue independently produced by the MER PF (Euclid Collaboration: Romelli et al. 2026) from photometric data from Euclid visible (VIS PF; Euclid Collaboration: McCracken et al. 2026) and near-infrared (NIR PF; Euclid Collaboration: Polenta et al. 2026) observations as well as selected external observations (EXT PF). The calibrated and validated spectra are subsequently passed to the SPE PF (Euclid Collaboration: Le Brun et al. 2026) for advanced spectral analyses, such as redshift determination and other spectral feature extractions. The SIR PF processes exposures from the NISP-S instrument, covering both wide and deep acquisitions, as well as red (‘RGS’, with passband RGE ≈ 1200 − 1900 nm and a resolving power of ℛ > 480) and blue (‘BGS’, with passband BGE ≈ 920-1370 nm and a resolving power of ℛ > 400) grisms, although the Q1 release focuses only on red-grism data from the Euclid Wide Survey (EWS, Euclid Collaboration: Aussel et al. 2026).

During the EWS, the reference observing sequence (ROS) plays a crucial role in structuring the observations (Euclid Collaboration: Scaramella et al. 2022). It is executed at every pointing and consists of four dithers, where NISP-S and VIS observe simultaneously. Each dither involves a spectroscopic exposure with 549.6 s of integration time1, covering approximately the same sky portion but with a distinct combination of red grism (RGS000 or RGS180) and grism-wheel assembly (GWA) tilt (0° , ± 4°) following the dithering ‘K’ sequence: RGS000+0 → RGS180+4 → RGS000-4 → RGS180+0. Consequently, each source is observed approximately four times (except if they unfortuitously fall on detector gaps or field edges), providing as many ‘single-dither’spectra.

In spectroscopy, it is important to distinguish between two key concepts: ‘spectrogram’ and ‘spectrum’; they are the counterparts of the photometric concepts of observed image (2D) and inferred integrated flux (scalar).

In slitless spectroscopy, a spectrogram specifically refers to the observed two-dimensional trace of dispersed light on the detector, representing the source’s spectral content as a function of both spatial position and wavelength. By the design of the NISP instrument, SIR focuses on the trace of the first dispersion order of the grism (hereafter ‘first-order spectrogram’), but such traces also exist for other dispersion orders (e.g. the zeroth-order spectrogram).

In contrast, a spectrum refers to the one-dimensional spectrum of a source, representing its chromatic flux density independently of the dispersion order. The SIR PF infers this ‘intrinsic’ spectrum from the first-order spectrogram under the ‘spectral separability’ hypothesis, which posits that the light distribution in both spatial and spectral directions can be factored into independent components: C(x,) = I(xy) S(λ), where I(x,y) represents the spatial intensity distribution and S(λ) represents the spectral flux distribution. This assumption is valid for unresolved sources or spatially resolved uniform sources. However, this hypothesis neglects potential spatial gradients in colour, internal flux distribution, or internal kinematics, which would require full forward modelling of the spectrograms(Outini & Copin 2020).

While slitless spectroscopy offers significant advantages in efficiency and sky coverage, it is also susceptible to two major sources of contamination: ‘cross-contamination’, where the spectrograms of neighbouring sources (in the first or other dispersion orders) may overlap with the target source’s spectrogram, and ‘self-contamination’, which arises from the degeneracy of the spatial and spectral dimensions along the dispersion direction and leads to an effective resolving power function of the source spatial extent. The SIR PF mitigates these contaminations with sophisticated decontamination and virtual-slit techniques (see below), but these issues, still active fields of research, are not discussed further in thiswork.

This paper provides an overview of the SIR PF at the time of the data production (November 2024) for the Euclid Q1 release (Euclid Quick Release Q1 2025). It is organised as follows. In Section 2 we describe the individual processing steps that progressively transform raw slitless spectroscopic data into precise, calibrated spectra, including scientific (Sect. 2.3), calibration (Sect. 2.4), and validation and data quality control (Sect. 2.5) pipelines. Section 3 presents the validation of the spectroscopic performance of the SIR PF in the light of Euclid’s top-level mission requirements, and Sect. 4 concludes the paper. All magnitudes are in the AB mag system (Euclid Collaboration: Schirmer et al. 2022).

2. Spectroscopic calibration and measurements

2.1. Overview

The SIR PF is split into three sets of pipelines, each of which contains individual processing element (PEs) that will be described in their respective sections. In addition to the main ‘scientific’ and ‘calibration’ pipelines (described below), a third ‘validation’ pipeline runs independently on a control field to assess and validate the software quality (Sect. 2.5).

2.1.1. The scientific pipelines

There are two independent scientific pipelines (Sect. 2.3), which are run sequentially for the processing of all scientific exposures acquired by NISP-S during the survey. Their objectives is to produce science-grade products, internal to SIR PF or for general publication, based on some pre-computed and validated calibration products.

The Spectra Extraction pipeline delivers single-dither calibrated spectra. It runs sequentially on an observation basis during the processing of the scientific exposures. It includes thefollowing eight science-related PEs.

  • Preprocessing:

    identification and correction of NISP detector artefacts (e.g. dark current, nonlinearity, persistence). This step is common to the NIR PF (Euclid Collaboration: Polenta et al. 2026), since the same detectors are used both for photometry and slitless spectroscopy, although in different readout modes (Sect. 2.3.2).

  • Spectra location:

    full mapping between the sky coordinates of an arbitrary source and the precise position of the corresponding spectrograms in the focal plane (FP) as a function of wavelength and dispersion orders (Sect. 2.3.3).

  • Detector scaling:

    estimate of the incident spectrum on each pixel (scene model) and correction for (potentially chromatic) fluctuations of detector response (Sect. 2.3.4).

  • Background subtraction:

    subtraction of the zodiacal light and other additive backgrounds (Sect. 2.3.5).

  • Spectra decontamination:

    correction (or masking) of first-order spectrogram for additive crosstalk from adjacent sources (Sect. 2.3.6).

  • Spectra extraction:

    estimate of the (1D) spectrum of a source from a single (2D) first-order spectrogram (Sect. 2.3.7).

  • Relative flux scaling:

    rescaling of all spectra to a common instrumental flux scale (internal consistency from different detectors, pointings, epochs, instrumental configurations), up to a chromatic external zero-point (Sect. 2.3.8).

  • Absolute flux scaling:

    rescaling of all spectra to an astronomical flux scale (external consistency, Sect. 2.3.9).

The Spectra Combination pipeline includes a single PE to combine single-dither spectra on a MER tile basis (Euclid Collaboration: Romelli et al. 2026):

  • Spectra combination:

    merging of all flux-calibrated spectra for a single source (from different detectors, dithers, and pointings) into a single consolidated estimate (Sect. 2.3.10).

2.1.2. The calibration pipelines

Five calibration-specific PEs are needed to provide adequate calibrations to the scientific PEs from dedicated observations – obtained during the performance-verification (PV) phase or monthly monitoring of the self-calibration field –, processing, and analyses (Sect. 2.4).

  • Preprocessing calibration:

    production of preprocessing calibration maps (e.g. dark current, detector bad pixels), derived from dedicated ground- and space-based detector characterisation measurements; this is addressed in Euclid Collaboration: Polenta et al. (2026).

  • Spectra location model:

    description of the distortion and dispersive behaviour of NISP-S, derived from prior knowledge of the instrumental properties and dedicated calibration exposures, including wavelength calibrators (Sect. 2.4.1).

  • Detector scaling calibration:

    detector response to a spatially and spectrally uniform illumination, derived from ground-based measurements (Sect. 2.4.2).

  • Relative flux calibration:

    transmission estimate of the NISP-S instrument (end-to-end, including telescope and detectors) as a function of position in the FP, derived from comparison of repeated observations of the same sources (Sect. 2.4.3).

  • Absolute flux calibration:

    conversion factor between instrumental and physical flux units (as a function of wavelength), derived from observations of flux calibrators (Sect. 2.4.4).

2.2. Interfaces

In its standard configuration (data processing of the NISP-S exposures from the Euclid telescope), the SIR PF interfaces with LE1 (a technical PF in charge of crafting and complementing raw exposures received from spacecraft with operational meta-data), MER (Euclid Collaboration: Romelli et al. 2026), and NIR (Euclid Collaboration: Polenta et al. 2026) PFs on the input side, and the SPE PF (Euclid Collaboration: Le Brun et al. 2026) on the output side. The format of the files released with Q1 is described in the Euclid SGS Data Product Description Document2 (Euclid Quick Release Q1 2025).

2.2.1. Input.

SIR PF relies on the following input data set.

  • DpdNispRawFrame (LE1):

    raw NISP-S exposures (signal and 8-bit quality factor computed onboard following Kubik et al. 2016) and associated meta-data (Euclid Collaboration: Jahnke et al. 2025).

  • DpdMerFinalCatalog (MER):

    consolidated source catalogue, including source identifier (ID), sky coordinates, size and shape information, NIR broadband photometry.

  • DpdMerBksMosaic and DpdMerSegmentationMap (MER):

    astrometrically registered background-subtracted flux-calibrated image cutout of individual sources in each of the NISP photometer (hereafter NISP-P) filters, and their associated variance and segmentation maps.

  • DpdExtTwoMassCutout (EXT):

    elements from the Two Micron All Sky Survey catalogue (2MASS, Skrutskie et al. 2006) to complement the MER catalogue on bright sources (see Sect. 2.3.6). Even though 2MASS J and H bands are not strictly identical to Euclid JE and HE ones, mean photometric corrections derived by Euclid Collaboration: Schirmer et al. (2022) were not yet included in the Q1 release.

2.2.2. Output.

There are two SIR products delivered for the Q1 release.

  • DpdSirScienceFrame:

    preprocessed and background-subtracted dispersed image with approximate world coordinate system set from commanded pointing.

  • DpdSirCombinedSpectra:

    fully calibrated decontaminated integrated (1D) spectrum (both single-dither and combined) of each source identified in the input MER source catalogue. Each spectrum consists of a signal vector, an associated estimate of the variance, and a bitmask vector (see Table 1). Along each spectrum, an exhaustive list of source IDs potentially contaminating the spectrogram, and the standard deviation of the effective line-spread function (LSF) isprovided.

    Table 1.

    Description of the bit used in the resampled spectrogram and combined spectrum bitmask. All bits except NOTUSE are warnings of suspicious behaviour.

2.3. Scientific processing elements

2.3.1. Usage of the MER catalogue

The MER (photometric) source catalogue plays an important role in the running of both the main SIR PF, and the various SIR calibration PFs. Because of the very nature of the slitless spectroscopic data, it would be rather complex and prone to significant uncertainties to carry out the object detection step, necessary for the spectra extraction stage, directly on the spectroscopic data. It was therefore decided to design all of the SIR PFs to use, as input, the list of detected objects provided by the imaging data (VIS and NIR as well as EXT), as constructed and delivered by the MER catalogue. From this catalogue, the SIR PFs extract each object’s sky coordinates, VIS IE and NIR YE, JE, and HE magnitudes (based on MER template-fitting photometry, see Euclid Collaboration: Romelli et al. 2026), as well as object isophotal data (semi-major axis size, position angle, and axial ratio).

Since the MER catalogue includes all detections, either in the VIS or NIR images irrespective of the signal-to-noise ratio (S/N) associated with those detections, it is likely that at low flux limits, a growing fraction of the detections included in the catalogue are actually false positives and do not correspond to real objects in the sky (e.g. due to persistence; see Euclid Collaboration: Polenta et al. 2026). Moreover, these faint sources would not contribute any significant signal on the spectroscopic data, as a result of the already faint flux being dispersed over approximately 500 pixels (the median counts-per pixel signal from an object of magnitude HE = 21.5 is approximately ten, compared with a median background level of approximately 800). It was therefore decided that in the early stages of the Euclid spectroscopic data analysis for the Q1 release, only a subset of the objects listed in the MER catalogue would be included in the SIR PF data analysis, specifically only objects with a measured NIR magnitude HE ≤ 22.5. For bright (mostly point-like) objects that result in saturated images in the NISP-P imaging exposures (≲16 mag, Euclid Collaboration: Jahnke et al. 2025), MER is not able to produce reliable flux measurements, and the SIR PF then falls back on using 2MASS J and H all-sky photometry instead (Skrutskie et al. 2006). Even though the spatial resolution of 2MASS, typically 2 . 5 Mathematical equation: $ 2{{\overset{\prime\prime}{.}}}5 $ FWHM, is significantly broader than Euclid’s one, it is of secondary importance for photometry of point-like sources. Regarding magnitude coverage, the depth of the 2MASS catalogue (J = 16.7 and H = 16.5, Cohen et al. 2003) makes it a suitable complement to MERmeasurements.

2.3.2. Preprocessing

The preprocessing is the general terminology for the processing steps needed to correct for detector-related artefacts, for example, the identification of cosmetic defects (bad pixels), nonlinearity corrections, intrinsic signal pollution (dark current or persistence signal), and cosmic ray hits. It ultimately generates preprocessed science exposures from LE1 raw exposures. This ‘composite’ PE includes all preprocessing-related software components developed in common with NIR PF. For a detailed description of these steps, we refer to Euclid Collaboration: Polenta et al. (2026); a summarised list is provided below.

  • Initialisation:

    the SIR frame is initialised from LE1 raw data, including signal in analogue-to-digital unit (ADU), variance estimate, as well as quality factor (QF, i.e. up-the-ramp χ2, see Kubik et al. 2016) and bitmask layers.

  • Bad pixel masking:

    pixels known to give unusable or suspicious signal are identified in the bitmask layer.

  • Linearity correction:

    the nonlinear detector behaviour is corrected, saturated pixels are flagged, and the signal is converted from ADU to electrons.

  • Dark subtraction:

    the ‘dark’ (thermal) contribution from the detector is subtracted.

  • Cosmic ray rejection:

    pixels affected by cosmic rays are identified from analysis of QF and masked3.

  • SIR-specific initialisation:

    the frames are interpolation-free rotated to align spectrograms mostly horizontally – in so-called SIR-coordinates (X, Y)SIR ≡ (Z, −Y)MOSAIC (see Euclid Collaboration: Jahnke et al. 2025) – and the SIR-specific bitmask is created.

Persistence flagging – identification and masking of pixels affected by persistent signal (Kubik et al. 2024) – was still in development for spectroscopic exposures at the time of production and is therefore not implemented for the Q1 release. Accordingly, some high-S/N sources may in fact be spurious.

2.3.3. Spectra location

The primary objective of the SIR PF is to estimate spectra for all selected entries in the source catalogue provided by MER PF (Euclid Collaboration: Romelli et al. 2026), independently of their spectral signatures in NISP-S images (e.g. apparent continuum or noticeable emission lines). The exact mapping – hereafter the spectrometric model – between a source, identified by its sky coordinates and the corresponding spectrogram on the detectors (including wavelength solution), is the goal of the ‘spectra location’ PE.

This PE is split into two software components.

  • Pointing registration:

    The commanded spacecraft pointing coordinates, as stored in the LE1 frames, can significantly differ from the effective values (the allowed absolute pointing error is 7 . 5 Mathematical equation: $ 7{{\overset{\prime\prime}{.}}}5 $ in X and Y coordinates and 22 . 5 Mathematical equation: $ 22{{\overset{\prime\prime}{.}}}5 $ in Z; see Euclid Collaboration: Mellier et al. 2025). The first step of the pipeline calculates the actual pointing of the spacecraft. The positions of the selected bright zeroth-order spots are measured in the four central detectors (where the zeroth-order optical quality is better4), and a roto-translation is computed against known sky coordinates of the stars to evaluate the effective spacecraft pointing and roll angle.

  • Spectra location:

    Three geometric models provide the location and an effective description of the spectrograms of all the objects selected in the MER catalogue. For each source, a reference position of the spectrogram in the FP is first computed using the ‘astrometric model’ (so-called OPT model), mapping its sky coordinates (RA, Dec) to the first-order position (x1, y1) of reference wavelength λ1. Then, the ‘curvature model’ (so-called CRV model) is used to map the cross-dispersion position of incident light along the spectral trace for any wavelength and dispersion orders (limited to zeroth- and first-orders for the Q1 release). Finally, the ‘inverse dispersion solution’ (IDS) provides a mapping between incident wavelength λ and position D along the spectral trace. The full ‘spectroscopic model’ is stored for all sources of the input catalogue into a single DpdSirLocationTable product, a precise description of all zeroth- and first-order spectrograms in the frame.

The associated calibration PEs provides astrometric and spectroscopic models (see Sect. 2.4.1), to be used as input forthe PE.

An illustration of the procedure is given in Fig. 1, for the source ID 2684805874647806467, selected for pedagogical purposes (presence of a conspicious Hα emission line) and identified as a JE = 20.46 ± 0.01 galaxy with a redshift of zSPE = 1.6323 ± 0.0003 (statistical error only) as measured by SPE PF (Euclid Collaboration: Le Brun et al. 2026).

Thumbnail: Fig. 1. Refer to the following caption and surrounding text. Fig. 1.

Illustration of the various exposures entering the SIR pipeline for object ID 2684805874647806467, a JE = 20.5 galaxy at z = 1.63. Upper left: 50″-cutout from the MER JE-band stack, centred on the object (green contour). Upper right: Close-up on sensor chip array (SCA) #42 of the preprocessed background-subtracted RGS000+0 spectroscopic exposure (pointing ID 11953) around the spectrogram of the same object (blue box). Bottom: Zoom-in of the blue box in SIR coordinates. The effective extraction window is indicated as a green box, the position of the reference wavelength λ1 is marked with a star, and the original pixels flagged as unusable are in grey. In addition to the faint continuum and the distinct Hα emission line of the target spectrogram, we note the bright (saturated) zeroth-order spectrogram in the lower right, as well as low-level persistent traces of previously observed tilted first-order and zeroth-order spectrograms.

2.3.4. Detector scaling

The purpose of the ‘detector scaling’ is to correct intensity variations within a detector, and across the detectors, due to differences in each pixel’s quantum efficiency (QE). This eliminates not only individual pixel-to-pixel variations on the small scale, but also larger-scale fluctuations in the detector response due to various surface properties, sometimes leading to distinctive ‘islands’ of pixels with lower-than-normal QE (see Euclid Collaboration: Jahnke et al. 2025, Euclid Collaboration: Kubik et al., in prep.). These structures can show spatially abrupt changes in QE, especially at the island perimeter, and need to be corrected to restore spatial continuity at the detector scale (see Fig. 2).

Thumbnail: Fig. 2. Refer to the following caption and surrounding text. Fig. 2.

Illustration of the application of the detector scaling product to a small section of the images from SCA #11. (a) Detector scaling image centred on the ‘duck’ structure (see Sect. 2.4.2). (b) Same section of a dispersed image prior to correction. (c) After application of the detector scaling. The ‘duck’ structure has been successfullymitigated.

In order to eliminate intensity variations in the data due to QE variations, the spectroscopic image is divided by a ‘master flat’, one per detector. As explained in Sect. 2.4.2, the master flat is presumed to be achromatic, and computed assuming a uniform illumination scene dominated by the zodiacal background.

We note that, unlike standard photometry (where the mapping between sky and detector positions is bijective), the master flat for dispersed imaging only corrects for detector-scale effects, but cannot account for relative flux calibration at all positions and wavelengths, which are degenerate quantities on the detector; this is therefore specifically addressed by the relative flux scaling (Sect. 2.3.8).

2.3.5. Background subtraction

The ‘background subtraction’ PE is aiming at estimating and subtracting the additional flux component not directly associated with individual spatially localised sources, for example, zodiacal diffuse background, scattered and stray light (diffusion), and ghosts (reflections).

By lack of elaborate ghost and stray light models for the spectroscopic channel at time of production, the Q1 version of the pipeline only computes and subtract a uniform background value per detector. It is estimated from the mode of the distribution of the ‘signal-free’ pixels, i.e., not covered by zeroth- and first-order spectrograms of sources, and not masked during preprocessing. Depending on the detector and grism mode, 10 to 20% of all pixels are identified as signal-free, and we have checked that the background estimate does not significantly vary with the chosen depth of the input MER catalogue.

2.3.6. Spectra decontamination

Dispersed imaging – as obtained with Euclid NISP-S – suffers from cross-contamination, i.e., the spectrogram of each source is potentially contaminated by flux from other sources in its vicinity. Although the use of the four different dispersion directions in the observation strategy mitigates the contamination to a certain extent, the sensitivity of Euclid implies there is a large number of potentially contaminating sources (104 − 105 deg−2) relative to the number of Hα emitters (less than 4000 deg−2, see Euclid Collaboration: Scaramella et al. 2022; Euclid Collaboration: Gabarra et al. 2023). These Hα emitters are used measuring the imprint of the baryon acoustic oscillations on galaxy clustering between 0.9 < z < 1.8 to determine the redshift evolution of dark energy, one of the primary science goals of Euclid (Laureijs et al. 2011).

Furthermore, the relatively coarse spatial sampling of NISP ( 0 . 3 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}3 $, Euclid Collaboration: Jahnke et al. 2025) and significant extent of the NISP-S point spread function (PSF, 20% flux outside 0 . 68 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}68 $) mean that the spatial wings of bright sources can affect many pixels beyond the typical source extraction aperture of five pixels used in the pipeline (see Sect. 2.3.7). As an estimation, there are 10 to 30 sources that overlap the first-order spectrogram of each source of interest; this number is even larger in dense regions of sky such as galaxy clusters.

Contamination of the first-order spectrogram of a source of interest occurs because the zeroth-order and the first-order – and possibly other dispersion orders for extremely bright sources – spectrograms of unrelated sources fall on the same region of the detector. In all cases, this results in an extrinsic dither-dependent flux excess in the extracted spectrum of the target source, degrading both its continuum and its spectral features.

Due to the volume of data being run through the spectroscopic pipeline, there are stringent memory and computing time requirements, which result in limitations on the range of algorithms that can be used for decontaminating the spectra. For the Q1 release, a ‘standard’ decontamination PE was implemented and tested. It identifies all contaminating sources, gathers their positions, brightnesses, and surface brightness profiles from NISP-P imaging data, estimates their (1D) spectrum, builds (2D) pixel-level spectrogram models at their specific locations, and subtracts these models from the spectrogram of each source of interest at each individual roll angle (dither). If the contamination appears too large (above requirements, see below), the contaminated pixels are flagged as unusable, and does not enter the extraction step (see Sect. 2.3.7). The procedure is also used to identify and mask out zeroth-order spectrograms in the dispersed images.

2.3.6.1. Contaminant catalogue.

The first step in this process is to compile accurate photometry for all the sources in the field of view. While the NISP-P photometry is accurate for sources fainter than the limit of 16th mag, there is no reliable Euclid measurement for brighter saturated sources (Euclid Collaboration: Jahnke et al. 2025). As mentioned earlier, we address this issue by using the external 2MASS photometry (Skrutskie et al. 2006) to estimate theirbrightness5.

The second step is to use the position, size, and brightness of all the sources in the input source catalogue and corresponding spectra-location table to define the effective area within which the source spectrogram is located. For typical sources, the width of the region of interest is selected as the largest of the photometric source size and five pixels, the adopted minimal extent. For the brightest sources (JE < 16), however, the size of the location table is progressively widened independently of the angular size of the object, up to 20 pixels (for sources with JE < 12), to account for the flux of the wings of the PSF, as described earlier. If this were not done, a fraction of sources of interest would still be contaminated by the brightest sources in the fieldof view.

2.3.6.2. Zeroth-order masking.

We next use the spectrometric model (Sect. 2.3.3) to mask out the zeroth-order spectrograms for all sources. We have estimated that the magnitude threshold at which the zeroth-order spectrogram of a source is below the Poisson noise threshold from the background corresponds to JE = 19.5. Not only is the zeroth-order PSF not as sharp as the first-order one, but its extent also depends on its radial position in the FP. Additionally, for bright resolved galaxies, the spatial extent of the source matters as well. For the Q1 release, we have been conservative in the size of the zeroth-order masking box by calibrating it on bright stars; however, for bright sources, particularly galaxies detected by 2MASS, the zeroth order may still extend beyond the box and be left unmasked, polluting distant spectrograms. An improved modelling and masking of the zeroth-order will be included in a subsequent version of the pipeline.

2.3.6.3. First-order contaminants.

The location table is used for each source to identify all first-order contaminants, i.e., adjacent sources whose first-order spectrogram overlap the first-order spectrogram of interest. Since the typical spectrogram extent is 531 pixels long and approximately five pixels wide, if any of those 2500 pixels include flux from even the wings of an adjacent source, it is classified and listed as a contaminant. In the current pipeline runs, a catalogue magnitude cut of HE < 22.5 is adopted for identifying the sources and their contaminants. This is partly because of spurious sources being present at fainter magnitudes, likely due to persistence.

2.3.6.4. Spectral (1D) model of contaminants.

We next estimate the contribution from each identified contaminant to the source of interest. To model the continuum of each contaminant, we adopt two approaches. We first try to model the continuum by fitting a power law to the measured flux densities in the spectrograms over the uncontaminated domains. If a line is strong enough to be seen at 5σ in a single spectrogram, it is masked out when deriving the power-law fits to the continuum flux model and then added back in as a Gaussian line to the model. The contaminating source is then defined as ‘bright with detectable continuum’ if the derived continuum is consistent with the JE and HE broadband flux densities within 10%; we find that this criterion is matched only for a few percent of sources, mostly because of contamination, and because we have not yet included optimal profile-weighted extraction in the pipeline (see Sect. 2.3.7). For the bright sources fulfilling this consistency criterion, the power-law fit from the spectrogram continuum is used.

For fainter contaminating sources, or sources for which no consistent measurements of the continuum can be obtained from spectrograms, we directly fit a power law to its broadband flux densities. For sources with all YE, JE, and HE measurements available from NISP-P, we adopt one power law between YE and JE, and another between JE and HE, with continuity between the two interpolations. For sources missing any NISP-P magnitude, the spectral model falls back to a single power law fit to the 2MASS J- and H-band flux densities. Various tests have shown that the double power-law results in better residuals than a single power-law.

2.3.6.5. Spectrogram (2D) model of contaminants.

The next challenge is to spatially distribute the model flux density of the contaminant in the spatial (cross-dispersion) direction to build a contaminating spectrogram. While one would naively adopt the spatial extent of the source in the imaging data, this is inaccurate, since the grism has optical power: the imaging and spectroscopic PSFs are different, with the imaging PSF being narrower6. We use an ad hoc wavelength-dependent Gaussian kernel to degrade the source profile derived from the segmented thumbnail extracted from the JE stack produced by MER (Euclid Collaboration: Romelli et al. 2026). For saturated sources that do not have source profiles measured by MER, we assume that they are point sources; this is obviously inaccurate for bright nearby galaxies and will be revised in the future. Appropriate corrections for the fraction of flux outside the extraction aperture are also applied.

We then take the Gaussian fits to the imaging profiles of the sources and degrade them with the imaging-to-spectroscopic cross-kernel to obtain the estimated wavelength-dependent spatial profile of each source in the spectroscopic data. The model flux densities derived are then distributed chromatically using this spatial profile within its corresponding location table.

2.3.6.6. Contaminant subtraction.

These modelled spectrograms of all contaminants are finally subtracted pixel-by-pixel from the native spectrogram of the source of interest. This is done for each dither separately on the preprocessed, detector-rescaled, background-subtracted dispersed images. Pixels where the total contaminating flux is larger than 10% that of the source of interest are flagged out for excessive contamination, and do not enter the extraction procedure (Sect. 2.3.7).

The end result from this decontamination process is a decontaminated spectrogram for each source of interest for each dither, along with corresponding bitmask and variance layers (see Fig. 3). The bitmask layers are crucial for identifying which pixels should be ignored either due to the zeroth-order contamination or due to excessive contamination from a bright source in the subsequent steps in the pipeline (notably spectrumextraction).

Thumbnail: Fig. 3. Refer to the following caption and surrounding text. Fig. 3.

Illustration of the decontamination procedure for a line-emitting source. Top: Original RGS000+0 spectrogram of object ID 2709725257636288279 in SIR coordinates: the x-axis is the dispersion direction, and the y-axis is the cross-dispersion direction. Middle: Model for the bright contaminant created in this case from broadband photometry, which affects a part of the target spectrogram. Bottom: Decontaminated spectrogram of the source of interest (positioned along the white dashed line). The flux scaling of all panels is the same. We note that the decontamination procedure was successful at isolating the target spectrogram, even if a faint subtraction residual is still visible in this particular case.

2.3.7. Spectra extraction

Once the first-order spectrogram of a given object has been precisely located within the NISP-S exposure (see Sect. 2.3.3) and properly decontaminated from external sources (see Sect. 2.3.6), one needs to extract and build an estimate of the source spectrum. This includes proper handling of optical distortions and application of the wavelength solution to produce a linear wavelength ramp. This is the objective of the ‘spectra extraction’ PE, which provides both a ‘recti-linear’ 2D spectrogram (not integrated over the cross-dispersion spatial direction) and a 1D spectrum (integrated over the source extent in the cross-dispersion direction).

2.3.7.1. Spectrogram resampling.

The first step of the extraction is to resample the 2D spectrogram in order to (1) align and rectify the spectrogram along the horizontal direction, accounting for mean grism tilt and distortion-induced curvature; (2) include the inverse dispersion solution (IDS) to generate a spectrogram linearly sampled in wavelength in the dispersion direction; and (3) move the virtual slit (see below) perpendicular to the dispersion direction to minimise the effective LSF. The decontaminated spectrogram is resampled a single time using a 4 × 4 hyperbolic-tangent kernel, with proper handling of masked pixels.

While the wavelength- and distortion-resamplings are classical, the virtual slit deserves more explanation. In order to minimise self-contamination – i.e., the degeneracy between the effective spectral resolution and the spatial extent of the source in the dispersion direction – and therefore improve spectral resolution by minimising the effective LSF, the 2D spectrogram of a resolved source is resampled to align the source maximal elongation in the cross-dispersion direction, the so-called virtual slit, perpendicular to the dispersion direction (see Fig. 4).

Thumbnail: Fig. 4. Refer to the following caption and surrounding text. Fig. 4.

Illustration of the different steps in the extraction of a spectrogram (right) of an extended source along its photometry thumbnail (left). Top: Original orientation in the FP. Middle: Rotation to bring the dispersion direction to horizontal. Bottom: Shear to bring the virtual slit along the cross-dispersion direction and minimise self-contamination. This illustration is a simplified case with no initial tilt or curvature in the spectral trace. In practice, rotation and shear are performed in a single step to minimise correlations between resampled pixels.

In practice, the resampling includes a transformation locally similar to

T = [ 1 m 0 1 ] [ cos θ sin θ sin θ cos θ ] , with m = 1 q 2 tan ϕ + q 2 / tan ϕ , Mathematical equation: $$ \begin{aligned} T = \begin{bmatrix} 1&m \\ 0&1 \\ \end{bmatrix} \begin{bmatrix} \cos \theta&\sin \theta \\ -\sin \theta&\cos \theta \end{bmatrix}, \quad \text{ with}\quad m = \frac{1 - q^{2}}{\tan \phi + q^{2}/\tan \phi }, \end{aligned} $$(1)

where θ is the dispersion direction with respect to the horizontal (potentially wavelength-dependent, due to distortions), ϕ is the source position angle with respect to the dispersion direction, and q is the flattening of the source (both supposed achromatic). This transformation guarantees that the spectrogram is resampled horizontally, and the virtual slit brought to vertical; as a consequence, the apparent extent of the source along the dispersion direction, which directly sets the effective LSF, is minimised.

For the Q1 release, the actual width of the extraction aperture used by the spectrogram resampling is defined as follows, depending on the nature of the source. For extended objects, the size of the rectified virtual slit is set from the semi-major axis of the source as quoted in the MER catalogue7 (Euclid Collaboration: Romelli et al. 2026); this size is further limited to five (lower limit) and 31 pixels (upper limit). For point-like objects – defined as objects with a point-like probability > 0.7 in the MER catalogue or cross-matched in the 2MASS catalogue, the virtual slit is five pixels long.

In addition to the ‘spatial’ components of the resampling (curvature and virtual slit), resulting in a scale of 0 . 3 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}3 $ pix−1 in the cross-dispersion direction, the resampling transformation also includes the wavelength solution in the spectral direction, so that the resampled spectrogram is linearly sampled along the dispersion direction, from λmin = 1190.0 nm to λmax = 1900.2 nm, with a step of δλ = 1.34 nm for the red grism (531 pixels).

During the resampling process, resampled pixels are a mixture of numerous (up to 16) original pixels, with no longer direct inheritance: all the original quality bits of the input pixels cannot be propagated to the output ones. For this reason, a new bitmask is computed and stored along with the 2D spectrogram (see Table 1). Since the resampling is a weighted average of the pixels within the kernel extent, a final pixel is flagged as:

  • NOTUSE

    , if the numeral fraction of unmasked pixels used during resampling is lower than 25%;

  • LOWSNR

    , if the same fraction is lower than 50%;

  • LOW

    , if only outer weights of the kernel are used, resulting in a suspicious interpolated value.

Figure 5 shows examples of signal spectrograms after resampling. Following Casertano et al. (2000), the variance layer of the spectrogram is resampled with the same procedure, rather than being propagated.

Thumbnail: Fig. 5. Refer to the following caption and surrounding text. Fig. 5.

Four 5 × 531 pixels (corresponding to 1 . Mathematical equation: $ {{{\overset{\prime\prime}{.}}}} $5 × 711.54 nm) decontaminated and resampled spectrograms for object ID 2684805874647806467 and grisms RGS000+0, RGS180+4, RGS000-4, and RGS180+0 (from top to bottom). Resampled pixels flagged as unusable (NOT_USE) are in grey. The faint continuum and the bright Hα line at 1730 nm (z = 1.63) are consistently visible in all single-dither spectrograms, as well as a faint decontamination residual in the upper left of RGS000-4 spectrogram.

2.3.7.2. Averaged summation.

For the Q1 release, the spectral extraction, which generates the 1D spectrum of the source, is performed by averaging unmasked pixels along the cross-dispersion direction, and rescaling by the aperture size, i.e., the width of the 2D spectrogram along the cross-dispersion direction. This ‘averaged summation’ attenuates the impact on flux of masked pixels in the spectrogram.

The 1D bitmask is computed as:

  • NOTUSE

    , if the fraction of unmasked pixels used in the average is lower than 50%;

  • LOWSNR

    , if the same fraction is lower than 75%.

Figure 6 shows examples of extracted spectra (after relative and absolute flux calibrations).

Thumbnail: Fig. 6. Refer to the following caption and surrounding text. Fig. 6.

Top: Four single-dither extracted spectra for object ID 2684805874647806467 (coloured) as well as the combined spectrum (black). Fluxes are in units of 10−16 erg cm−2 s−1 Å−1. The position of notable emission lines at z = 1.63 are highlighted by dashed vertical lines. Bottom: Individual bit flags (see Table 1) for all the 531 pixels of the single-dither spectra (coloured) and combined spectrum (black) and the effective number of pixels that entered the combination (grey).

2.3.7.3. Line-spread function.

As mentioned earlier, the effective LSF of a slitless spectrum is an intricate mixing of instrumental PSF and intrinsic source extent. While the PSF part can be estimated independently from pure point sources (e.g. stars), the spatial contribution depends on the extended source properties, and presumably varies with wavelength due to colour gradients and distribution differences between stellar and gaseous components.

In practice, the effective extent of the source is estimated from the segmented 0 . 1 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}1 $ pix−1 thumbnail extracted from the JE stack produced by MER (Euclid Collaboration: Romelli et al. 2026). The thumbnail at NISP-P resolution ( σ 0 . 15 Mathematical equation: $ \sigma \approx 0{{\overset{\prime\prime}{.}}}15 $) is convolved by a 2D Gaussian to match mean NISP-S PSF ( σ 0 . 18 Mathematical equation: $ \sigma \approx 0{{\overset{\prime\prime}{.}}}18 $), rotated, and sheared according to the spectrogram resampling procedure (see Fig. 4), and finally rebinned by a factor of three to match the NISP spatial scale of 0 . 3 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}3 $ pix−1. The LSF standard deviation is estimated from a 1D Gaussian fit to the resulting thumbnail marginalised over the cross-dispersion direction.

2.3.8. Relative flux scaling

Large-scale transmission variations in the instrument, arising from a combination of optical and detector effects, must be measured and corrected to ensure consistent flux measurement for sources. To accomplish this, a relative flux scaling solution is derived for each grism-tilt configuration using repeat observations of bright stars in the self-calibration field (see Sect. 2.4.3 for details).

The relative flux scaling is applied to the extracted spectra based on the grism-tilt configuration and the location of the spectrum in the FP. This correction ensures that a consistent instrumental flux (prior to absolute scaling) is reported for a given source no matter where it lands in the FP, which grism-tilt combination was used, or the epoch of the observation. At present, the relative flux scaling solution appears to be stable with time and hardly chromatic.

2.3.9. Absolute flux scaling

After the relative flux scaling has been applied, each extracted spectrum is divided by a grism- and tilt-specific sensitivity function produced by a dedicated calibration pipeline (Sect. 2.4.4). This converts the instrumental flux units into physical units chosen to be erg cm−2 s−1 Å−1. In this way, each individual spectrum is flux calibrated in an absolute sense, making them intrinsically comparable. The flags associated with the sensitivity product are carried forward in the spectrum bitmask.

2.3.10. Spectra combination

Multiple independent realisations – from different detectors and ROS dithers, potentially from different pointings at their intersections – of the intrinsic spectrum of a given source are combined by the ‘spectra combination’ PE to produce a consolidated – both from a statistic and systematic point of view – estimate of the flux-calibrated source spectrum. This operation is run for every source on a MER tile basis, and combines all spectra for the given source available to date, from pointings covering this tile.

Given the potential issues still affecting individual spectra (e.g. decontamination residuals, unmasked bad pixels, bright zeroth-order diffraction spikes, ghosts), a plain average of the single-dither spectra is not robust enough. On the other hand, given the small number of single-dither spectra to be combined – typically N ≈ 4 corresponding to the four dithers in an ROS –, a plain median is not statistically efficient.

An outlier-detection scheme, similar to Grubbs’ bilateral test (Grubbs 1969) but using the ‘pull’ in place of the z-score, was therefore run first at the pixel-level among the N flux realisations fi ± σi. For each measurement i of the N-sample, its pull, pi, is defined as

p i = f i f ¯ i σ i 2 + σ ¯ i 2 + σ 0 2 , Mathematical equation: $$ \begin{aligned} p_i = \frac{f_{i} - \bar{f}_{i}}{ \sqrt{\sigma _{i}^{2} + \bar{\sigma }_{i}^{2} + \sigma _{0}^{2}}}, \end{aligned} $$(2)

where f ¯ i Mathematical equation: $ \bar{f}_{i} $ (resp. σ ¯ i Mathematical equation: $ \bar{\sigma}_{i} $) is the inverse-variance weighted average (resp. its associated error) of the sample without measurement i and σ0 is an estimate of the intrinsic (beyond statistical) dispersion among the single-dither spectra (accounting, e.g., for flux calibration errors). In practice, outlying flux realisations are defined as |pi|> pmax = 4. This procedure iteratively identifies and masks out significantly discordant pixels still affected by yet unflagged bad pixels, decontamination residuals, bright zeroth-order diffraction spikes, and ghosts.

A standard inverse-variance weighted average is then performed over the n ≤ N unclipped values, to compute the combined signal, its associated variance, and set the followingbitmask values (see Table 1):

  • NOTUSE

    , if n < 2 or n/N < 50% (i.e. more than 50% of the flux realisations were clipped out), or if z > 5, where z is the z-score (statistical significance) of the final χ 2 = i = 1 n p i 2 Mathematical equation: $ \chi^{2} = \sum_{i = 1}^{n} p_{i}^{2} $ (i.e. the distribution of selected flux realisations is not compatible with flux errors and intrinsic dispersion);

  • LOWSNR

    , if n/N < 70% (more than 30% of the flux realisations were clipped out);

  • EXTPBR

    , if z > 3 (the distribution of selected flux realisations is barely compatible with flux errors and intrinsic dispersion);

  • HIGH

    , if any pi > +3, where pi is the pull of the selected flux realisations.

  • LOW

    , similar to HIGH, but if any pi < −3.

Furthermore, the standard deviation of the effective LSF of the combined spectrum is computed as the root mean square (RMS) of the standard deviation of input single-dither LSFs (see Sect. 2.3.7). Figure 6 shows examples of single-dither and combined spectra (after relative and absolute flux calibrations).

2.4. Calibration processing elements

The preprocessing calibration PEs are presented in Euclid Collaboration: Polenta et al. (2026), and we describe the relevant information there.

2.4.1. Spectra location calibration

2.4.1.1. Astrometric modelling (OPT calibration).

This calibration PE aims at deriving an astrometric model, i.e., the mapping between the sky coordinates (RA, Dec) of a source, as identified in the MER catalogue, and the corresponding first-order reference position in the FP, first in R-MOSAIC coordinates (in mm, Euclid Collaboration: Jahnke et al. 2025) and ultimately in detector pixel coordinates (through the use of the metrologic layout of the FP): reference positions (x0, y0) for zeroth-order, and (x1, y1) for the first-order, at reference wavelength λ1 = 1504 nm of the stellar spectral Mg I (blended) feature.

This calibration is derived from astrometric calibration pointings, in which numerous bright point sources are observed simultaneously, by mapping sky coordinates to measured first-order star absorption positions in the registered exposure. It uses a preliminary mapping specifically derived and validated during the PV phase, as well as the FP metrology to convert FP coordinates (in mm) to detector coordinates (in pixels). We note that the ground-based metrology, derived from measurements at room temperature, was not precise enough; an ad hoc effective metrology was developed – only including translation terms in the Q1 release – to insure spectral continuity between adjacent detectors.

2.4.1.2. Spectroscopic modelling (CRV and IDS calibrations).

The spectroscopic model (sky position to spectrogram mapping), including spectral distortions and wavelength solution, slightly varies over the FP. The SIR reduction pipeline describes these changes using global spectroscopic models, calibrated using the following two sets of observations.

  • Curvature model (CRV):

    the same astrometric calibration pointings, in which many point (stellar) sources are observed simultaneously, by measuring the cross-dispersion offset of the spectral trace as a function of position along the dispersion axis, to accurately describe the geometrical shape of the spectrogram (spectral distortions).

  • Wavelength solution (IDS):

    dedicated observations during the PV phase of a bright planetary nebula (PN SMC-SMP-20, Euclid Collaboration: Paterson et al. 2023), whereby the PN is observed at 16 × 5 = 80 different positions in the NISP FP, and the bright emission lines in the PN spectrum are used to derive the mapping λ(D) – namely the IDS – between tabulated wavelengths λ and measured positions D along the spectral trace. See Figure 15 of Euclid Collaboration: Jahnke et al. (2025) for examples of spectrograms, spectra, and reference wavelengths of PN SMC-SMP-20 used in this procedure.

By constructing the spectroscopic model over the full FP, the calibration procedure allowed us to predict for each source, given its coordinates in the sky (but fully independently of its intensity), the geometric and chromatic description of the zeroth- and first-order spectrograms. As a consequence, SIR PF can handle spectra for any source from the MER catalogue, notwithstanding its magnitude.

2.4.2. Detector scaling calibration

As mentioned in Sect. 2.3.4, the scaling acts as both small- and large-scale flat fields – correcting for detector-related QEfluctuations – but also includes the effective QE conversion factor for each pixel. The pixel-level QE was measured on the ground for all 16 detectors at 40 wavelengths between 600 and 2550 nm, and shows a weak percent-level stochastic dependence on wavelength (Euclid Collaboration: Kubik et al., in prep.). The detector-scaling calibration product (‘master flat’) is a set of 2040 × 2040 maps (one per detector) representing the effective QE averaged over the RGE passband (see below).

Except for the pixels illuminated by the brightest sources, most of the signal in the pixels in the grism spectroscopic data arises from the zodiacal light, which accounts for about 1000 electrons in a nominal 550 s exposure. The zodiacal light at these wavelengths is assumed to have an intensity power-law spectral density Iν ∝ ν−0.8 per unit of frequency ν (Kelsall et al. 1998; Gorjian et al. 2000), which, after conversion to electrons per spectral pixel using the sensitivity curve (Sect. 2.4.4), is used to compute the weighted average of the intrinsic QE values for each pixel. Although uniform weighting by the zodiacal spectrum for all pixels in the field of view is a crude approximation of the complex illumination scene, the QE spatial fluctuations are not significantly chromatic – i.e., δ QE ( i , j , λ ) δ ij × QE ¯ ( λ ) Mathematical equation: $ \delta\text{ QE}(i, j, \lambda) \approx \delta_{ij} \times \overline{\text{ QE}}(\lambda) $ with δij the gray fluctuation of pixel (i, j) – and this approach is therefore well justified. The master flat is the same for all red grism-tilt configurations, but since QE varies with wavelength, it still depends on the grism passband.

Local variations in the QE maps averaged over several hundreds of pixels are typically correcting the input signal at the percent level, whereas the shot-noise in the detectors is typically 3 to 4% in a blank region of the detector for standard exposure times. This means that the application of the flat for a well-behaved part of the image is relatively benign. However, the detector scaling does have a significant net-positive effect, because it also corrects for discontinuities at the edges of well identified detector artefacts (e.g. the ‘fish’-shaped region in SCA #21, or the ‘duck’-shaped structure in SCA #11, see Figure A.1 of Euclid Collaboration: Jahnke et al. 2025) showing abrupt changes in QE (at the 3 to 5% level). These effects are efficiently handled by the detector scaling product, and lead to a significant flattening of the images after application (see an illustration on the ‘duck’ in Fig. 2).

In the current implementation, the detector scaling calibration does not use the multi-chromatic flat exposures from the internal calibration unit (Euclid Collaboration: Jahnke et al. 2025); EuclidSkyNISPCU, but only relies on ground-based multi-wavelength measurements. It is a foreseen development of SIR PF to estimate and correct for potential time evolution of QE maps from in-flightobservations.

2.4.3. Relative flux calibration

The relative flux calibration module computes the relative transmission variations of the instrument as a function of position on the FP, wavelength, time, and the grism-tilt configuration used. These transmission variations are corrected for at the level of a single-dither 1D extracted spectrum in the relative flux scaling PE (Sect. 2.3.8), prior to combination of all the spectra. It is crucial that this module correctly estimates the transmission variations in order to ensure consistent flux measurements for the mission.

The spectral flux measured for the same source observed at different locations on the FP may vary due to transmission (spatial) fluctuations of the instrument, arising from a combination of optical and detector effects. For example, vignetting on the order of 10% at one edge of the focal plane is expected for acquisitions at the ±4° tilted-grism positions (Euclid Collaboration: Mellier et al. 2025). Moreover, the large-scale flat pattern may be chromatic, differing at the blue and red end of the grism spectra.

To measure and correct for this effect, we use repeat observations of bright (16 < HE < 18) stars at random positions in the self-calibration field (Euclid Collaboration: Aussel et al. 2026). Such a large-scale retrospective relative spectrophotometric self-calibration procedure has been described and tested in Markovič et al. (2017), and a working version of it has also been implemented for NISP-P (Euclid Collaboration: Polenta et al. 2026). The dithering pattern of the Euclid self-calibration observations ensures that same sources illuminate different parts of the same detector, different detectors in the focal plane, at different epochs, and with different grism-tilt configurations, thus providing the necessary constraints to map variations in the large-scale response of the instrument. The extracted spectra used for calibration have low levels of contamination (or have undergone successful decontamination). By sampling the same sources at different positions on the focal plane, we build up statistical constraints on the large-scale flat pattern that needs to be corrected to ensure consistent flux measurements regardless of sourceposition.

In practice for the Q1 release, the large-scale response has been found to be nearly achromatic, and therefore to maximise the S/N of the solution, an achromatic solution was derived for all wavelengths that depends only on the position of the observation on the focal plane (see Fig. 7). This solution shows similarities to the NISP-P large-scale flat (Euclid Collaboration: Polenta et al. 2026) and displays the vignetting pattern in the tilted grism configurations expected based on optical simulations of the instrument. It is also shown to correct repeated spectra of bright sources such that they are in agreement. At present, the solution appears to be stable with time, and will be monitored for evolution as the missionprogresses.

Thumbnail: Fig. 7. Refer to the following caption and surrounding text. Fig. 7.

Relative flux solution in SIR coordinates derived for the four grism-tilt configurations by the relative flux calibration. The value Δmag indicates the correction in magnitude that should be applied to the portion of a spectrum landing at the given focal plane position. The vignetting at the focal plane sides in tilted configurations RGS000-4 (top right) and RGS180+4 (bottom right) is apparent, as are large-scale features in common with the imaging flux solution (the so-called flat field, Euclid Collaboration: Polenta et al. 2026). This solution is found to be mostly achromatic and is therefore averaged over wavelength.

2.4.4. Absolute flux calibration

The absolute flux calibration pipeline is designed to create a sensitivity function that is used to convert instrumental signal units (electrons per sampling element) into astrophysical flux units (erg s−1 cm−2 Å−1, see Sect. 2.3.9). The sensitivity function was created by first averaging repeat observations of the flux calibration star GRW+70 5824, a DA2.4 white dwarf (Gianninas et al. 2011) acquired during the PV phase in a pattern of five points on each detector (Euclid Collaboration: Jahnke et al. 2025), independently for each of the four red grism-tilt combinations (RGS000+0/-4, RGS180+0/+4). For the Q1 release, a separate sensitivity function is created for each grism-tilt combination from the pull-clipped average of 16 × 5 = 80 single-dither spectra (after relative flux scaling) of the standard star.

After the single-dither spectra of the reference star have been suitably extracted and averaged, we convert the instrumental flux units into units of e s−1 Å−1, and then divide by a suitably matched reference spectrum. The reference spectrum used was a model spectrum from CALSPEC8 (Bohlin et al. 2020), first resampled to 0.1 nm, convolved to an effective spectral resolution of 3.3 nm (close to the spectral resolution of the red grism for a point source), and finally rebinned onto the SIR wavelengths. The Q1 sensitivity curves for the four grism-tilt configurations are shown in Fig. 8.

Thumbnail: Fig. 8. Refer to the following caption and surrounding text. Fig. 8.

Sensitivity functions for the four red grism-tilt configurations (RGS000+0/-4, RGS180+0/+4) derived from PV observations of the white dwarf GRW+70. The vertical black solid and dashed lines represent the boundaries of the NOTUSE and ABSFLUX (suspicious) flags. In this figure, we show the limits for RGS180+0, but each grism-tilt configuration has slightly different limits.

The bitmask layer is used to flag the sensitivity function, wavelength by wavelength: for the Q1 release, the NOTUSE flag is set on domains where the sensitivity function deviates by more than 5% from pre-launch expectations; and the ABSFLUX (suspicious) flag is intended to emphasise spectral domains where the throughput is less than 80% of the maximum throughput at the band edges. We note that, during the Q1 production, a software error led to some excess flagging of ABSFLUX pixels on the blue-side of the spectral domain (see Figs. 6 and 8); this problem has been resolved for future releases.

2.5. Q1 validation and data quality control

2.5.1. Validation pipeline

The current validation process for the SIR PF encompasses more than 20 test cases, designed to ascertain the conformity of the pipeline and its data products with the established requirements. The principal objective of the validation tests is to evaluate in detail the performance of each PE of the scientific pipeline, from the spectra location to combination (see Sect. 2.3). The quality of the data is instead assessed on a statistical basis through the Data Quality Control procedure (see Sect. 2.5.2). Validation tests are typically conducted on designated reference fields to assess the impact of modifications and improvements introduced in each pipeline release.

To validate the SIR pipeline used for the Q1 release, we selected four dithered pointings in an ROS over the COSMOS field (Scoville et al. 2007), one of the Euclid ancillary fields including a multitude of additional data and redshifts employed for validation purposes. We present here the results of two of the most significant validation tests, namely those that evaluate the accuracy of wavelength and flux calibration, respectively. These can provide an overall assessment of the performance of the entire pipeline.

Figure 9 illustrates the outcome of the test on the accuracy of the wavelength solution. The histogram shows the difference along the dispersion axis between the nominal position of the blended Mg I absorption line λ1504 nm and the position measured on the spectra in a single pointing for bright stars pre-selected in the 2MASS catalogue (12 ≤ J2MASS ≤ 16). The distribution has a normally scaled median absolute deviation (sMAD) of approximately 0.5 pixel, marginally higher than the requisite 0.4 pixel (0.54 nm). It appeared a posteriori that this slight non-conformity in the Q1 production was mostly due to errors in automatic identification and measurement of the Mg I stellar feature; the procedure has been improved for future releases.

Thumbnail: Fig. 9. Refer to the following caption and surrounding text. Fig. 9.

Distribution of the differences along the dispersion axis, expressed in nanometers, between expected and measured positions of the Mg I absorption feature used as a reference in the 1D extracted spectra for a sample of bright stars. Results are presented for grism RGS000+0 in a single pointing.

The accuracy of the flux calibration is shown in Fig. 10. This plot displays the difference between the J2MASS magnitudes and the magnitudes measured on the 1D spectra in a 50 nm domain around the J2MASS effective wavelength (1235 nm) in a single-dither pointing, for bright stars (12 ≤ J2MASS ≤ 17). The distribution is centred around a median offset of −0.01, with an sMAD of 0.04 consistent with flux calibrationobjectives.

Thumbnail: Fig. 10. Refer to the following caption and surrounding text. Fig. 10.

Comparison between the J2MASS magnitudes and magnitudes estimated from single-dither spectra in a 50 nm-wide region around the J2MASS effective wavelength (1235 nm) for bright stars in an RGS000-4 pointing. The black solid and dashed lines represent the 40-point running median and sMAD, respectively.

2.5.2. Data quality control

The SIR PF includes the calculation of a number of data quality control (DQC) parameters at each data-processing step. These parameters are critical in assessing the quality of incoming data and identifying potential calibration or reduction problems. The DQC parameters are statistical quantities, calculated on each archived data product using pre-selected sources (e.g. bright stars) or regions of the sky (e.g. excluding bad or contaminated pixels). They are computed on the fly within each PE, in both the calibration and scientific pipelines, and then stored in the Euclid archive system in the XML metadata associated with each data product (e.g. DpdSirScienceFrame, DpdSirCombinedSpectraCollection). By collecting all DQCs on hundreds of observations, we can obtain an overview of the general trend of each parameter and thus the average quality of the data. It is beyond the scope of this paper to provide a complete description of all SIR PF DQC parameters. Instead, the following discussion focuses on some of the key parameters derived from the scientific pipeline for the Q1 data processing. This illustrates the method used for data validation and the quality of the Q1release.

2.5.3. Quality control for Q1 data set

The SIR data released in Q1 include 117 observations with red grisms, each ROS consisting of four dithers obtained with the different grism-tilt configurations (RGS000+0/-4, RGS180+0/+4). In this section, we present the results for the Q1 release in relation to the following quantities, derived at each run of the SIR scientific pipeline for each detector on sub-samples of point sources (typically 10 to 30 per detector).

  • DQC.1:

    difference (in pixels) between the measured and expected position of the Mg Iλ1504 nm absorption feature on the first-order spectrograms along the dispersion axis for bright point sources (12 < J2MASS < 16). This is related to the accuracy of the spectra location (Sect. 2.3.3), and in particular to the optical model and zero-point of the wavelength solution (Sect. 2.4.1);

  • DQC.2:

    difference (in pixels) between the measured and predicted peak position (of the cross-dispersion profile) along the spectrograms at seven different wavelengths for bright point sources (12 ≤ J2MASS ≤ 16). This is also probing the validity of the spectra location, in relation to the curvature model (Sect. 2.4.1).

  • DQC.3:

    difference between J-band magnitudes measured on the spectra and those from the 2MASS catalogue for point sources with 16 ≤ J2MASS ≤ 18, probing the reliability of the overall flux calibration (Sects. 2.3.9 and 2.4.4).

The median and sMAD per detector of each DQC parameter are stored in the metadata of the SIR products. Given their derivation from the difference between a predicted and a measured quantity, a positive outcome of the DQC parameters is associated with a median value close to zero and an sMAD within a specified threshold. In order to evaluate a single DQC criterion for each quantity, extending König–Huygens formula, the sum in quadrature of the median and sMAD is used as a robust estimate of the RMS:

rRMS = median 2 + sMAD 2 . Mathematical equation: $$ \begin{aligned} \mathrm {rRMS} = \sqrt\mathrm{median^2 + sMAD^2}. \end{aligned} $$(3)

This is illustrated in Fig. 11, showing the distribution of the robust RMS obtained for the Q1 release for all three DQC parameters; in each case, the distribution is reasonably well represented by a log-normal probability density function (PDF). A specific pointing may exhibit anomalies if any DQC parameter yields outliers for more than three detectors in these distributions. Similarly, a standard ROS observation may be problematic if more than two grisms fail the DQC threshold. Some outlying detectors were identified in Fig. 11 (i.e. ≳5σ away from the median RMS value), but in most cases, these are from different pointings. In cases where more than three detectors per pointing exhibited outliers, an investigation wascarried out.

Thumbnail: Fig. 11. Refer to the following caption and surrounding text. Fig. 11.

Top: Distribution of the robust RMS of the spectrogram reference position offsets (DQC.1) for all 16 detectors of the 467 pointings of the Q1 release. The vertical solid line is the median of the distribution, and the solid curve is the log-normal PDF. Middle: Same as above but for the cross-dispersion peak-position offsets (DQC.2). Since the results are not significantly chromatic, we show the robust RMS averaged over the seven wavelengths. Bottom: Same as above but for J-band magnitude offsets (DQC.3).

While not all the Q1 spectroscopic data release is strictly within the specified requirements, no invalidating systematic errors were identified. In conclusion, this first Q1 release is considered to be of reasonable accuracy level, in line with the initial performance of the SIR pipeline, and there are reasons to be confident that it will further improve in future releases.

3. Validation of spectroscopic requirements

In this section, we briefly assess the spectroscopic performance of the NISP instrument and SIR pipeline from on-orbit observations, in regard to Euclid’s top-level mission requirements (Euclid Collaboration: Mellier et al. 2025). Since the Q1 release only covers red-grism observations from the EWS, we do not address here the specificities of the blue grism and the deepsurvey.

We note that flux requirements have not been evaluated at the Q1 stage and are therefore not addressed here. Preliminary analyses show that flux performance (relative flux accuracy and flux limits) are globally on par with requirements, but we postpone in-depth (red or blue, wide or deep) analyses and validations to later SIR PF publications.

3.1. Spectral resolution

Euclid’s top-level requirement on spectral resolution (actually resolving power) of red-grism observations states:

‘The NISP spectrometric channel spectral resolution considering a reference 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $-diameter source shall be ℛ = λλ > 380 over the 1250–1850 nm spectral range.

Note: resolution element (Δλ) is defined as the minimum wavelength separation at which two spectral lines produced by a 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $ object and with the same equivalent width can still be separated.’

This requirement specifically refers to the Sparrow criterion (Sparrow 1916; Jones et al. 1995), for which the physical resolution element (in pixels) is r(λ) = 2σ(λ) in the Gaussian approximation. Given the native spectral sampling s(λ)≜dλ/dD (in nm pix−1, before any spectral resampling), one defines the resolving power as

R λ Δ λ = λ 2 σ ( λ ) s ( λ ) . Mathematical equation: $$ \begin{aligned} \mathcal{R} \triangleq \frac{\lambda }{\Delta \lambda } = \frac{\lambda }{2\sigma (\lambda )\,s(\lambda )}. \end{aligned} $$(4)

The native spectral sampling s(λ) is estimated from measured positions, directly in R-MOSAIC coordinates, of significant emission lines in the PN SMC-SMP-20 spectrograms acquired all over the FP during the PV phase (see Figure 15 of Euclid Collaboration: Jahnke et al. 2025, for an illustration). Overall, the sampling is not found to be significantly dependent on positions in the FP, on wavelength, or on red grism-tilt configuration, and hence we adopted the following constant value:

s = 1.368 ± 0.025 nm pix 1 ( median ± sMAD ) . Mathematical equation: $$ \begin{aligned} s = 1.368 \pm 0.025\,\mathrm{nm}\,\mathrm{pix}^{-1} \quad (\text{ median} \pm \text{ sMAD}). \end{aligned} $$(5)

This value is, as it should be, slightly larger than the adopted spectral bin after wavelength resampling (δλ = 1.34 nm, see Sect. 2.3.7).

Under the assumption of an axisymmetric PSF, the intrinsic resolution σ of NISP-S is evaluated during the CRV calibration (Sect. 2.4.1) from Gaussian error-function fits to the cross-dispersion profiles of first-order spectrograms of bright-yet-unsaturated point sources (approximately 20 per detector). The collection of measurements – for all stars and wavelengths – is then robustly combined into five spectral bins over the spectral extent (see Fig. 12), without noticeable variations over the FP. As expected from instrumental design, the spectral resolution does not show any significant differences between grism-tilt configurations.

Thumbnail: Fig. 12. Refer to the following caption and surrounding text. Fig. 12.

Top: Distribution (median ± sMAD) of the intrinsic spectral resolution σ (in blue) and effective 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $-source σe (in orange) for RGS000+0 (pointing ID 266626). Bottom: corresponding resolving power ℛ, for a single-dither spectrum (continuous line) and a four-dither combined spectrum (dashed line), assuming an as-required wavelength accuracy (38% of a resolution element, see text); the red zone corresponds to the requirement from top-level mission document.

In dispersed imaging, the resolution element is directly degraded by the source extent projected onto the dispersion direction (see Sect. 2.3.7). The requirement refers to a fiducial 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $ source, understood as the full width at half maximum of an axi-symmetric Gaussian source. With a nominal NISP pixel scale of 0 . 3 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}3 $ pixel−1, this corresponds to a self-contamination contribution to the resolution of σc = 0.710 pixel, to be added in quadrature to intrinsic resolution σ estimated from point sources (see Fig. 12). We note that, while the cross-dispersion profile is significantly under-sampled for point sources (σ ≈ 0.6 pixel), it becomes reasonably sampled for 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $ distant galaxies, Euclid’s primary targets.

Ultimately, the resulting resolving power, ℛ, is computed from the effective resolution σ 2 + σ c 2 Mathematical equation: $ \sqrt{\sigma^{2} + \sigma_{\text{c}}^{2}} $. It is shown in Fig. 12, along with Euclid’s top-level requirement.

The spectral resolution can be computed either from individual ‘single-dither’ spectra or on ‘combined’ (multi-dither) spectra. The later estimate should therefore include a contribution from the residual wavelength solution errors, since the wavelengths may not be exactly aligned and a spectral feature is artificially broadened by the IDS inaccuracies. If, in the worst-yet-acceptable-case scenario, the wavelength accuracy only marginally meets requirement (38% of a resolution element, see below), its effective contribution to the resolution element is a net increase by approximately 1 + 0 . 38 2 1 = 7 % Mathematical equation: $ \sqrt{1 + 0.38^{2}} - 1 = 7\% $ (see Fig. 12).

In conclusion, the resolving power for a reference 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $-diameter source is compatible with ℛ ≈ 500 − 700, well above Euclid’s top-level requirement, ℛ > 380 for the red grisms. It does not show significant dependence on FP position and grism-tilt configuration. This seemingly high resolving power is a direct indication of the superb quality of the NISP-S optics; we note, however, that it is also dependent on the specific adopted definition of the resolution element.

3.2. Wavelength accuracy

Regarding wavelength accuracy, Euclid’s top-level requirement reads:

‘After calibration, the maximum error in the measured position of a spectral feature in the NISP red spectrometric channel (1250–1850 nm) shall be < 38% of one resolution element.’

An analysis of the wavelength accuracy is performed for grism RGS000+0 from intermediate quantities obtained during the IDS calibration (Sect. 2.4.1) applied to spectrograms of PN SMC-SMP-20. The wavelength accuracy is estimated from the robust RMS error of the expected (calibrated) wavelength position compared to the observed one (the emission line position). The resolution element, presented in Sect. 3.1 for a point source, has been converted to account for the σPN = 0.37 pixel extent of PN SMC-SMP-20 (80%-energy radius r 80 % = 0 . 20 Mathematical equation: $ r_{80\%} = 0{{\overset{\prime\prime}{.}}}20 $, Euclid Collaboration: Paterson et al. 2023).

Finally, the wavelength accuracy, i.e. the wavelength RMS error in units of resolution element, is computed per detector and reference line. Its distribution does not show strong chromatic or spatial variations (as a function of wavelength and detector in the FP), and the marginalised distribution is shown in Fig. 13, along with Euclid’s top-level requirement.

Thumbnail: Fig. 13. Refer to the following caption and surrounding text. Fig. 13.

Overall wavelength accuracy distribution for the RGS000+0 IDS (RMS error in units of resolution element, Δλ, marginalised over all wavelengths and detectors). The red zone corresponds to the maximum error as stipulated in the top-level mission requirements document.

Overall, the RGS000+0 IDS delivers an estimated mean wavelength accuracy of 0.23 pix, corresponding to only 17% of the effective resolution element for SMC-SMP-20 (averaged over wavelengths and detectors in the FP), well below the requirement of 38%. Other grism-tilt configurations (namely RGS180+4, RGS000-4, and RGS180+0) provide a similar wavelength accuracy.

We note, however, that this analysis is a lower limit, since the wavelength accuracy has been evaluated on wavelength reference PN SMC-SMP-20 itself, a bright (J ≃ 15.9) and compact ( r 80 % = 0 . 20 Mathematical equation: $ r_{80\%} = 0{{\overset{\prime\prime}{.}}}20 $) source not exactly representative of the 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $ galaxies that constitutes the core of the Euclid sample. Yet, the overall wavelength accuracy is confirmed by Q1 validation analyses (see Sect. 2.5.3), even though it is limited to bright stars and the reference spectral feature Mg Iλ1504 nm. As estimated from the log-normal approximation to the DQC.1 distribution (Fig. 11), the reference position is measured in the spectrograms with a precision of 0.43 pixel RMS, which corresponds to approximately 36% of the resolution element for point sources (Δλ ≈ 1.2 pixel, see Fig. 12).

Ultimately, a consolidated assessment of the wavelength accuracy comes from redshift measurements of reference galaxies performed by SPE PF (Euclid Collaboration: Le Brun et al. 2026). For the record, the source ID 2684805874647806467 used in Figs. 1, 5, and 6, with a Euclid-measured redshift of zSPE = 1.6323 ± 0.0003, is also part of the Dark Energy Spectroscopic Instrument (DESI) Early Data Release catalogue (DESI Collaboration 2024), as target 39633441200803399, a quasar with zDESI = 1.6325 ± 0.0002. The redshift offset corresponds to a relative error between the two measurements of 8 × 10−5, consistent with the Q1-scale comparison performed by SPE PF, which found (zSPE − zDESI)/(1 + zDESI) = 6 × 10−6 ± 1.3 × 10−3 (median ± 1σ, Euclid Collaboration: Le Brun et al. 2026).

4. Conclusions and planned future work

In this paper, we have detailed the status of the SIR slitless spectroscopy science, calibration, and validation pipelines as well as its interfaces and principal data products at the time of the Q1 release (Euclid Quick Release Q1 2025). The SIR PF, with a code base exceeding 150 000 lines – primarily written in Python and C++ – is designed to address the complexities of slitless spectroscopy data from the NISP instrument on board Euclid.

The final Q1 spectroscopic sample includes 4.314 million entries out of the 5.134 million sources with HE ≤ 22.5 catalogued by the MER PF over an area of 63.2 deg2 (Euclid Collaboration: Aussel et al. 2026). Considering only the combined spectra originating from at least two dithers (to make the outlier clipping meaningful during combination), 3.778 million spectra have at least one ‘valid’ pixel (Fig. 14), defined as pixels not flagged as NOTUSE or ABSFLUX (see Fig. 8), and 2.343 million spectra with 300 valid pixels or more (up to 468 pixels). As expected from the ROS, a vast majority (92%) of the spectra results from the combination of three or four dithers, but a substantial number of spectra are computed from eight dithers or more (17 733 with at least 400 valid pixels).

Thumbnail: Fig. 14. Refer to the following caption and surrounding text. Fig. 14.

Top: Distribution, in the Q1 release, of the number (in millions) of combined spectra originating from at least two dithers with a minimal number of ‘valid’ pixels (see text). Bottom: Distribution of the number of dithers included in the spectra combination as a function of the minimal number of valid pixels.

We have also reported that the spectroscopic performance is in favourable agreement with top-level mission requirements, particularly regarding the resolving power ℛ ≈ 500 − 700. This requirement is met thanks to the exquisite optical quality of the instrument.

We are fully aware of the current limitations and shortcomings of the pipeline, and we urge end users of SIR spectra to validate them thoroughly before drawing any scientific conclusion (see Euclid Collaboration: Le Brun et al. 2026). Importantly, the modular and flexible structure of the SIR pipelines ensure that they can continuously evolve, allowing for ongoing improvements and refinements at each step of the data calibration and reduction process. The ability to integrate new methodologies, enhance existing algorithms, and incorporate feedback from the scientific community will guarantee that the pipeline remains robust and adaptable to future requirements.

For the forthcoming first data release (DR1, in prep.), several major improvements are being implemented, notably:

  • Improved FP metrology, accounting for translation and rotation of the detectors in the FP;

  • Updated Gaussian error-function-based curvature and NISP-S chromatic PSF models;

  • Incorporation of an optimal extraction (Robertson 1986; Horne 1986) based on cross-dispersion profiles derived from NISP-S PSF-matched MER thumbnails; and

  • Integration with the spectroscopic survey visibility mask estimation process, interfacing with both the SIM and LE3 PFs, respectively in charge of Euclid data simulations and cosmology analyses.

Looking beyond DR1, the pipeline will continue to evolve, with several promising improvements addressing further technical issues, such as persistence correction on spectroscopic exposures (Kubik et al. 2024); masking and subtraction of ghosts and stray light (building on Euclid Collaboration: Paterson et al., in prep.); improved background subtraction methods (e.g. Akhlaghi & Ichikawa 2015); the introduction of a dedicated model for zeroth-order masking or subtraction, accounting for its complex shape and position-dependent variations across the FP. The pipeline shall also address the challenges posed by dispersion direction jitter (due to 0 . 1 Mathematical equation: $ {\lesssim} 0{{\overset{\prime\prime}{.}}}1 $-RMS fluctuations in the GWA position) and extend its decontamination capabilities to spectrograms from −1 and +2 dispersion orders. To ensure large-scale flux accuracy requirements, an übercal flux-calibration scheme should also be implemented (Padmanabhan et al. 2008; Markovič et al. 2017).

Ultimately, the SIR PF could move to more advanced dispersed imaging methods, such as advanced decontamination strategies (e.g. Bella et al. 2022), and other forward modelling techniques (Ryan et al. 2018; Rubin et al. 2021; Neveu et al. 2024) to further enhance the reliability and precision of the extracted spectra. However, one has to keep in mind that these improved algorithms have to match the constraints on memory and computing time from the SGS. Therefore, it is foreseen that these developments would need to be restricted to a fraction of selected targets of interest among the approximately 50 000 sources of a typical NISP-S exposure.

In conclusion, SIR processing function represents a significant achievement in the reduction of slitless spectroscopic data for the Euclid mission. As the survey progresses, along with our knowledge of the NISP-S instrument, ongoing development of the SIR PF coupled with its modular design ensures that it will remain a key tool for advancing cosmological and astrophysical research.

Acknowledgments

Funded by the European Union – Next Generation EU, Mission 4 Component 1 Large Scale Lab (LaScaLa), CUP C53D23001390006. This work has made use of the Euclid Quick Release Q1 data from the Euclid mission of the European Space Agency (ESA), 2025, https://doi.org/10.57780/esa-2853f3b. The Euclid Consortium acknowledges the European Space Agency and a number of agencies and institutes that have supported the development of Euclid, in particular the Agenzia Spaziale Italiana, the Austrian Forschungsförderungsgesellschaft funded through BMK, the Belgian Science Policy, the Canadian Euclid Consortium, the Deutsches Zentrum für Luft- und Raumfahrt, the DTU Space and the Niels Bohr Institute in Denmark, the French Centre National d’Etudes Spatiales, the Fundação para a Ciência e a Tecnologia, the Hungarian Academy of Sciences, the Ministerio de Ciencia, Innovación y Universidades, the National Aeronautics and Space Administration, the National Astronomical Observatory of Japan, the Netherlandse Onderzoekschool Voor Astronomie, the Norwegian Space Agency, the Research Council of Finland, the Romanian Space Agency, the State Secretariat for Education, Research, and Innovation (SERI) at the Swiss Space Office (SSO), and the United Kingdom Space Agency. A complete and detailed list is available on the Euclid web site (www.euclid-ec.org). This publication makes use of data products from the Two Micron All Sky Survey, which is a joint project of the University of Massachusetts and the Infrared Processing and Analysis Center/California Institute of Technology, funded by the National Aeronautics and Space Administration and the National Science Foundation. In the development of our pipeline, we acknowledge use of the Python libraries Numpy (Harris et al. 2020), Scipy (Virtanen et al. 2020), Matplotlib (Hunter 2007), Astropy (Astropy Collaboration 2013, 2018, 2022) and Pandas (The Pandas development team 2024).

References

  1. Akhlaghi, M., & Ichikawa, T. 2015, ApJS, 220, 1 [Google Scholar]
  2. Astropy Collaboration (Robitaille, T. P., et al.) 2013, A&A, 558, A33 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  3. Astropy Collaboration (Price-Whelan, A. M., et al.) 2018, AJ, 156, 123 [Google Scholar]
  4. Astropy Collaboration (Price-Whelan, A. M., et al.) 2022, ApJ, 935, 167 [NASA ADS] [CrossRef] [Google Scholar]
  5. Bella, M., Hosseini, S., Saylani, H., et al. 2022, in 30th European Signal Processing Conference (EUSIPCO), Belgrade, 5 [Google Scholar]
  6. Bohlin, R. C., Hubeny, I., & Rauch, T. 2020, AJ, 160, 21 [Google Scholar]
  7. Casertano, S., de Mello, D., Dickinson, M., et al. 2000, AJ, 120, 2747 [NASA ADS] [CrossRef] [Google Scholar]
  8. Chambers, K. C., Magnier, E. A., Metcalfe, N., et al. 2016, arXiv e-prints [arXiv:1612.05560] [Google Scholar]
  9. Cohen, M., Wheaton, W. A., & Megeath, S. T. 2003, AJ, 126, 1090 [Google Scholar]
  10. DESI Collaboration (Adame, A. G., et al.) 2024, AJ, 168, 58 [NASA ADS] [CrossRef] [Google Scholar]
  11. Dey, A., Schlegel, D. J., Lang, D., et al. 2019, AJ, 157, 168 [Google Scholar]
  12. Euclid Collaboration (Scaramella, R., et al.) 2022, A&A, 662, A112 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  13. Euclid Collaboration (Schirmer, M., et al.) 2022, A&A, 662, A92 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  14. Euclid Collaboration (Gabarra, L., et al.) 2023, A&A, 676, A34 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  15. Euclid Collaboration (Paterson, K., et al.) 2023, A&A, 674, A172 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  16. Euclid Collaboration (Cropper, M., et al.) 2025, A&A, 697, A2 [Google Scholar]
  17. Euclid Collaboration (Hormuth, F., et al.) 2025, A&A, 697, A4 [Google Scholar]
  18. Euclid Collaboration (Jahnke, K., et al.) 2025, A&A, 697, A3 [Google Scholar]
  19. Euclid Collaboration (Mellier, Y., et al.) 2025, A&A, 697, A1 [Google Scholar]
  20. Euclid Quick Release Q1, 2025, https://doi.org/10.57780/esa-2853f3b [Google Scholar]
  21. Euclid Collaboration (Aussel, H., et al.) 2026, A&A, 711, A1 (Euclid Q1 SI) [Google Scholar]
  22. Euclid Collaboration (Le Brun, V., et al.) 2026, A&A, 711, A7 (Euclid Q1 SI) [Google Scholar]
  23. Euclid Collaboration (McCracken, H. J., et al.) 2026, A&A, 711, A2 (Euclid Q1 SI) [Google Scholar]
  24. Euclid Collaboration (Polenta, G., et al.) 2026, A&A, 711, A3 (Euclid Q1 SI) [Google Scholar]
  25. Euclid Collaboration (Romelli, E., et al.) 2026, A&A, 711, A4 (Euclid Q1 SI) [Google Scholar]
  26. Gianninas, A., Bergeron, P., & Ruiz, M. T. 2011, ApJ, 743, 138 [Google Scholar]
  27. Gorjian, V., Wright, E. L., & Chary, R. R. 2000, ApJ, 536, 550 [Google Scholar]
  28. Grubbs, F. E. 1969, Technometrics, 11, 1 [CrossRef] [Google Scholar]
  29. Harris, C. R., Millman, K. J., van der Walt, S. J., et al. 2020, Nature, 585, 357 [NASA ADS] [CrossRef] [Google Scholar]
  30. Horne, K. 1986, PASP, 98, 609 [Google Scholar]
  31. Hunter, J. D. 2007, Comput. Sci. Eng., 9, 90 [NASA ADS] [CrossRef] [Google Scholar]
  32. Jones, A. W., Bland-Hawthorn, J., & Shopbell, P. L. 1995, in Astronomical Data Analysis Software and Systems IV, eds. R. A. Shaw, H. E. Payne, & J. J. E. Hayes, ASP Conf. Ser., 77, 503 [Google Scholar]
  33. Kelsall, T., Weiland, J. L., Franz, B. A., et al. 1998, ApJ, 508, 44 [Google Scholar]
  34. Kubik, B., Barbier, R., Chabanat, E., et al. 2016, PASP, 128, 104504 [NASA ADS] [CrossRef] [Google Scholar]
  35. Kubik, B., Barbier, R., Smadja, G., et al. 2024, in X-Ray, Optical, and Infrared Detectors for Astronomy XI, eds. A. D. Holland, & K. Minoglou, SPIE Conf. Ser., 13103, 1310315 [Google Scholar]
  36. Laureijs, R., Amiaux, J., Arduini, S., et al. 2011, ESA/SRE(2011) 12, arXiv e-prints [arXiv:1110.3193] [Google Scholar]
  37. Markovič, K., Percival, W. J., Scodeggio, M., et al. 2017, MNRAS, 467, 3677 [Google Scholar]
  38. Neveu, J., Brémaud, V., Antilogus, P., et al. 2024, A&A, 684, A21 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  39. Outini, M., & Copin, Y. 2020, A&A, 633, A43 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  40. Padmanabhan, N., Schlegel, D. J., Finkbeiner, D. P., et al. 2008, ApJ, 674, 1217 [NASA ADS] [CrossRef] [Google Scholar]
  41. Robertson, J. G. 1986, PASP, 98, 1220 [Google Scholar]
  42. Rubin, D., Cikota, A., Aldering, G., et al. 2021, PASP, 133, 064001 [NASA ADS] [CrossRef] [Google Scholar]
  43. Ryan, R. E., Jr, Casertano, S., & Pirzkal, N. 2018, PASP, 130, 034501 [CrossRef] [Google Scholar]
  44. Scoville, N., Aussel, H., Brusa, M., et al. 2007, ApJS, 172, 1 [Google Scholar]
  45. Skrutskie, M. F., Cutri, R. M., Stiening, R., et al. 2006, AJ, 131, 1163 [NASA ADS] [CrossRef] [Google Scholar]
  46. Sparrow, C. M. 1916, ApJ, 44, 76 [Google Scholar]
  47. The Pandas development team 2024, https://zenodo.org/records/13819579 [Google Scholar]
  48. Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nat. Methods, 17, 261 [Google Scholar]

1

This corresponds to a multiple accumulated readout of the NISP-S detectors with 15 groups of 16 read and 11 dropped frames of 1.45408 s (see Euclid Collaboration: Jahnke et al. 2025).

3

The QF layer is not propagated further in the pipeline.

4

Given the dispersive power of the prism and the blazing function of the grating, the zeroth-order spectrogram has a distinctive non-trivial double-peaked roughly 10 pixel-long shape.

5

All-sky Y-band flux densities from PanSTARRS (Chambers et al. 2016) and DECaLS (Dey et al. 2019) surveys are not yet incorporated into the pipeline.

6

The spatial resolution of NISP-P is σ 0 . 15 Mathematical equation: $ {\sigma\simeq 0{{\overset{\prime\prime}{.}}}15} $ (Euclid Collaboration: Jahnke et al. 2025) for all bands, while the NISP-S red-grism one is σ 0 . 18 Mathematical equation: $ {\sigma\simeq 0{{\overset{\prime\prime}{.}}}18} $ (see Sect. 3.1).

7

This actually neglects the 0 . 1 Mathematical equation: $ \sim 0{{\overset{\prime\prime}{.}}}1 $ spatial resolution (quadratic) difference between NISP-P and NISP-S, a reasonable assumption for extended objects.

All Tables

Table 1.

Description of the bit used in the resampled spectrogram and combined spectrum bitmask. All bits except NOTUSE are warnings of suspicious behaviour.

All Figures

Thumbnail: Fig. 1. Refer to the following caption and surrounding text. Fig. 1.

Illustration of the various exposures entering the SIR pipeline for object ID 2684805874647806467, a JE = 20.5 galaxy at z = 1.63. Upper left: 50″-cutout from the MER JE-band stack, centred on the object (green contour). Upper right: Close-up on sensor chip array (SCA) #42 of the preprocessed background-subtracted RGS000+0 spectroscopic exposure (pointing ID 11953) around the spectrogram of the same object (blue box). Bottom: Zoom-in of the blue box in SIR coordinates. The effective extraction window is indicated as a green box, the position of the reference wavelength λ1 is marked with a star, and the original pixels flagged as unusable are in grey. In addition to the faint continuum and the distinct Hα emission line of the target spectrogram, we note the bright (saturated) zeroth-order spectrogram in the lower right, as well as low-level persistent traces of previously observed tilted first-order and zeroth-order spectrograms.

In the text
Thumbnail: Fig. 2. Refer to the following caption and surrounding text. Fig. 2.

Illustration of the application of the detector scaling product to a small section of the images from SCA #11. (a) Detector scaling image centred on the ‘duck’ structure (see Sect. 2.4.2). (b) Same section of a dispersed image prior to correction. (c) After application of the detector scaling. The ‘duck’ structure has been successfullymitigated.

In the text
Thumbnail: Fig. 3. Refer to the following caption and surrounding text. Fig. 3.

Illustration of the decontamination procedure for a line-emitting source. Top: Original RGS000+0 spectrogram of object ID 2709725257636288279 in SIR coordinates: the x-axis is the dispersion direction, and the y-axis is the cross-dispersion direction. Middle: Model for the bright contaminant created in this case from broadband photometry, which affects a part of the target spectrogram. Bottom: Decontaminated spectrogram of the source of interest (positioned along the white dashed line). The flux scaling of all panels is the same. We note that the decontamination procedure was successful at isolating the target spectrogram, even if a faint subtraction residual is still visible in this particular case.

In the text
Thumbnail: Fig. 4. Refer to the following caption and surrounding text. Fig. 4.

Illustration of the different steps in the extraction of a spectrogram (right) of an extended source along its photometry thumbnail (left). Top: Original orientation in the FP. Middle: Rotation to bring the dispersion direction to horizontal. Bottom: Shear to bring the virtual slit along the cross-dispersion direction and minimise self-contamination. This illustration is a simplified case with no initial tilt or curvature in the spectral trace. In practice, rotation and shear are performed in a single step to minimise correlations between resampled pixels.

In the text
Thumbnail: Fig. 5. Refer to the following caption and surrounding text. Fig. 5.

Four 5 × 531 pixels (corresponding to 1 . Mathematical equation: $ {{{\overset{\prime\prime}{.}}}} $5 × 711.54 nm) decontaminated and resampled spectrograms for object ID 2684805874647806467 and grisms RGS000+0, RGS180+4, RGS000-4, and RGS180+0 (from top to bottom). Resampled pixels flagged as unusable (NOT_USE) are in grey. The faint continuum and the bright Hα line at 1730 nm (z = 1.63) are consistently visible in all single-dither spectrograms, as well as a faint decontamination residual in the upper left of RGS000-4 spectrogram.

In the text
Thumbnail: Fig. 6. Refer to the following caption and surrounding text. Fig. 6.

Top: Four single-dither extracted spectra for object ID 2684805874647806467 (coloured) as well as the combined spectrum (black). Fluxes are in units of 10−16 erg cm−2 s−1 Å−1. The position of notable emission lines at z = 1.63 are highlighted by dashed vertical lines. Bottom: Individual bit flags (see Table 1) for all the 531 pixels of the single-dither spectra (coloured) and combined spectrum (black) and the effective number of pixels that entered the combination (grey).

In the text
Thumbnail: Fig. 7. Refer to the following caption and surrounding text. Fig. 7.

Relative flux solution in SIR coordinates derived for the four grism-tilt configurations by the relative flux calibration. The value Δmag indicates the correction in magnitude that should be applied to the portion of a spectrum landing at the given focal plane position. The vignetting at the focal plane sides in tilted configurations RGS000-4 (top right) and RGS180+4 (bottom right) is apparent, as are large-scale features in common with the imaging flux solution (the so-called flat field, Euclid Collaboration: Polenta et al. 2026). This solution is found to be mostly achromatic and is therefore averaged over wavelength.

In the text
Thumbnail: Fig. 8. Refer to the following caption and surrounding text. Fig. 8.

Sensitivity functions for the four red grism-tilt configurations (RGS000+0/-4, RGS180+0/+4) derived from PV observations of the white dwarf GRW+70. The vertical black solid and dashed lines represent the boundaries of the NOTUSE and ABSFLUX (suspicious) flags. In this figure, we show the limits for RGS180+0, but each grism-tilt configuration has slightly different limits.

In the text
Thumbnail: Fig. 9. Refer to the following caption and surrounding text. Fig. 9.

Distribution of the differences along the dispersion axis, expressed in nanometers, between expected and measured positions of the Mg I absorption feature used as a reference in the 1D extracted spectra for a sample of bright stars. Results are presented for grism RGS000+0 in a single pointing.

In the text
Thumbnail: Fig. 10. Refer to the following caption and surrounding text. Fig. 10.

Comparison between the J2MASS magnitudes and magnitudes estimated from single-dither spectra in a 50 nm-wide region around the J2MASS effective wavelength (1235 nm) for bright stars in an RGS000-4 pointing. The black solid and dashed lines represent the 40-point running median and sMAD, respectively.

In the text
Thumbnail: Fig. 11. Refer to the following caption and surrounding text. Fig. 11.

Top: Distribution of the robust RMS of the spectrogram reference position offsets (DQC.1) for all 16 detectors of the 467 pointings of the Q1 release. The vertical solid line is the median of the distribution, and the solid curve is the log-normal PDF. Middle: Same as above but for the cross-dispersion peak-position offsets (DQC.2). Since the results are not significantly chromatic, we show the robust RMS averaged over the seven wavelengths. Bottom: Same as above but for J-band magnitude offsets (DQC.3).

In the text
Thumbnail: Fig. 12. Refer to the following caption and surrounding text. Fig. 12.

Top: Distribution (median ± sMAD) of the intrinsic spectral resolution σ (in blue) and effective 0 . 5 Mathematical equation: $ 0{{\overset{\prime\prime}{.}}}5 $-source σe (in orange) for RGS000+0 (pointing ID 266626). Bottom: corresponding resolving power ℛ, for a single-dither spectrum (continuous line) and a four-dither combined spectrum (dashed line), assuming an as-required wavelength accuracy (38% of a resolution element, see text); the red zone corresponds to the requirement from top-level mission document.

In the text
Thumbnail: Fig. 13. Refer to the following caption and surrounding text. Fig. 13.

Overall wavelength accuracy distribution for the RGS000+0 IDS (RMS error in units of resolution element, Δλ, marginalised over all wavelengths and detectors). The red zone corresponds to the maximum error as stipulated in the top-level mission requirements document.

In the text
Thumbnail: Fig. 14. Refer to the following caption and surrounding text. Fig. 14.

Top: Distribution, in the Q1 release, of the number (in millions) of combined spectra originating from at least two dithers with a minimal number of ‘valid’ pixels (see text). Bottom: Distribution of the number of dithers included in the spectra combination as a function of the minimal number of valid pixels.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.