Repository navigation
Update tutorial to reflect Euclid DR1 SIR 1D spectra - #408
Merged
Merged
Conversation
Removed unnecessary comment from the introduction section.
Updated text for clarity and accuracy regarding the Euclid mission and data releases.
Updated coordinates and search radius for galaxy spectrum query.
Updated comments in the code cell regarding the public release of dr1.
Updated the coordinates for the galaxy search in the 1D spectra table.
Updated coordinates for galaxy search in 1D spectra table.
Added steps for querying and plotting galaxy spectra.
Added steps to query and plot the spectrum of a specific galaxy using the IRSA SSA service. Included code cells for searching, reading, and visualizing the spectrum data.
Plot the spectrum with the most usable flux bins right after reading the spectra, and move the grism and deep/wide tile explanation, the best-spectrum selection, the redshift lookup and the emission-line plot after it. Use the UNCERTAINTY column instead of sqrt(VAR), call quantity_support in the imports cell, trim the learning goals, and note that IRSA temporarily removed the DR1 SSA collection.
Add Euclid Collaboration: Scodeggio et al. (2026, in prep.) to the introduction and a References section, and describe the DR1 version of the notebook in notebook_metadata.yml.
…rvice The DR1 SIR spectra will not be served by SSA/ObsTAP/CAOM at release, so find the galaxy and its redshift with one TAP query on the MER and SPE catalogs, look up its spectrum files and HDUs in euclid.objectid_spectrafile_association_dr1, and read them through the spectrumDM service. Drop the temporary SSA stand-in and the collection listing, note the coming SSA access, and add the spe_z_rel reliability cut to the random galaxy selection.
Use the irsacloud spectrumDM endpoint with the euclid_combspec_dr1 dataset, and build the URL in the ADQL query on the association table, as recommended by IRSA.
Contributor
Author
|
@jkrick thank you :) |
jkrick
self-requested a review
November 9, 2026 19:07
Contributor
|
Thanks for this update! The DR1 version reads really nicely, and the blue grism and emission line markers Some of the items below go beyond the DR1 switch (two were already in the version on main, marked from Before release (Nov 12)
Code
Structure
Science and text
Thanks again! |
jkrick
approved these changes
Nov 9, 2026
jkrick
left a comment
Contributor
There was a problem hiding this comment.
I don't need to see it again, as long as the top two comments are addressed.
This was referenced Nov 9, 2026
Contributor
Author
|
Thanks @jkrick for the careful review! All addressed in the latest commit:
A few other small updates:
|
7 tasks
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 12, 2026
Update tutorial to reflect Euclid DR1 SIR 1D spectra 386960d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
DR1 text: rewrote the introduction for DR1 (EWS + EDS, ~1900 sq deg, reprocessed Q1 areas), cited the DR1 SIR paper (Scodeggio et al. 2026), and updated the learning goals.
New way of finding spectra: the notebook now
object_idand spectroscopic redshift by joining the DR1 MER deep catalog with the SPE catalog (spe_rank = 0), andeuclid.objectid_spectrafile_association_dr1, building the spectrumDM URLs in the ADQL query (IRSA's recipe).The SSA search was removed because DR1 spectra aren't in SSA yet. A note says the notebook will switch back once they are.
Reaches the first plot sooner: one spectrum is plotted right after it's read in. The details come after that.
Red vs. blue grism: explains the two grisms (blue only in the Deep Survey), tells them apart by wavelength range, and picks the best spectrum of each grism by number of usable flux bins.
Plot with emission lines: the plot shows usable bins as solid lines, MASK-flagged bins as dotted lines, and the uncertainty as thin lines. Emission lines (e.g. Hα, [OIII]) are marked at the galaxy's redshift.
MASK column: explains which bins to discard (odd values or values ≥ 64) and plots MASK against wavelength.
Gallery description updated in
notebook_metadata.yml.Notes for reviewers
Irsa.tap_urltoirsadev. That cell has aTODOand needs to be removed before (or right after) the DR1 public release. Please don't merge to production before then.