Skip to content

Commit 1edbdfd

Browse files
committed
Adding text for the URLs in the intro and cutting text up for easier future management
1 parent c4aaaac commit 1edbdfd

4 files changed

Lines changed: 56 additions & 29 deletions

File tree

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,17 @@ By the end of this tutorial, you will:
3232

3333
+++
3434

35-
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe. The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO). On March 19, 2025 the data will be available on the ESA archive (https://easidr.esac.esa.int/sas/) and on the IRSA archive (https://irsa.ipac.caltech.edu).
35+
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe.
36+
The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO).
37+
On March 19, 2025 the data will be available on the [ESA archive](https://easidr.esac.esa.int/sas/) and on the [IRSA archive](https://irsa.ipac.caltech.edu).
3638

37-
These notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive. At the end of the notebook, we also include some information for how to access the Q1 data from the ESA archive. If you have any issues accessing data from the archives, please contact the helpdesk directly: IRSA (irsasupport@ipac.caltech.edu) and ESA (https://support.cosmos.esa.int/euclid).
39+
These Q1 notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive.
40+
If you have any issues accessing data from the archives, please contact the helpdesk directly: [IRSA helpdesk](irsasupport@ipac.caltech.edu) and [ESA Euclid Helpdesk](https://support.cosmos.esa.int/euclid).
3841

39-
MER mosaic images are all the images from Level 2 images in different filters mapped to a common pixel scale. This notebook provides an introduction to MER mosaics released as part of Euclid Q1. Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
42+
MER mosaic images are all the images from Level 2 images in different filters mapped to a common pixel scale.
43+
44+
This notebook provides an introduction to MER mosaics released as part of Euclid Q1.
45+
Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
4046

4147
+++
4248

tutorials/euclid_access/2_Euclid_intro_MER_catalog.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kernelspec:
1919

2020
+++
2121

22-
By the end of this tutorial, you will:
22+
By the end of this tutorial, you will:
2323
- Understand the basic characteristics of Euclid Q1 MER catalogs.
2424
- What columns are available in the MER catalog.
2525
- How to query with ADQL in the MER catalog.
@@ -31,11 +31,17 @@ By the end of this tutorial, you will:
3131

3232
+++
3333

34-
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe. The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO). On March 19, 2025 the data will be available on the ESA archive (https://easidr.esac.esa.int/sas/) and on the IRSA archive (https://irsa.ipac.caltech.edu).
34+
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe.
35+
The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO).
36+
On March 19, 2025 the data will be available on the [ESA archive](https://easidr.esac.esa.int/sas/) and on the [IRSA archive](https://irsa.ipac.caltech.edu).
3537

36-
These notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive. At the end of the notebook, we also include some information for how to access the Q1 data from the ESA archive. If you have any issues accessing data from the archives, please contact the helpdesk directly: IRSA (irsasupport@ipac.caltech.edu) and ESA (https://support.cosmos.esa.int/euclid).
38+
These Q1 notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive.
39+
If you have any issues accessing data from the archives, please contact the helpdesk directly: [IRSA helpdesk](irsasupport@ipac.caltech.edu) and [ESA Euclid Helpdesk](https://support.cosmos.esa.int/euclid).
3740

38-
Each entry in the MER catalog is a single source containing all its photometry from the MER Mosaics (VIS, Y, J, H and any accompanying external ground observations) along with other basic measurements, like size and shape. This notebook provides an introduction to the MER catalog released as part of Euclid Q1. Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
41+
Each entry in the MER catalog is a single source containing all its photometry from the MER Mosaics (VIS, Y, J, H and any accompanying external ground observations) along with other basic measurements, like size and shape.
42+
43+
This notebook provides an introduction to the MER catalog released as part of Euclid Q1.
44+
Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
3945

4046
+++
4147

@@ -83,7 +89,7 @@ print(len(columns))
8389

8490
```{code-cell} ipython3
8591
for col in columns:
86-
print(f'{f"{col.name}":30s} {col.unit} {col.description}')
92+
print(f'{f"{col.name}":30s} {col.unit} {col.description}')
8793
```
8894

8995
### Define the following ADQL query to find the first 10k stars in the MER catalog
@@ -127,7 +133,7 @@ mag_h_s_irsa=-2.5*np.log10(df_s_irsa["flux_h_templfit"]) + 23.9 # H
127133
x_s_irsa = mag_y_s_irsa - mag_h_s_irsa # Y - H
128134
y_s_irsa = mag_y_s_irsa
129135
130-
xerr_s_irsa= 2.5 / np.log(10) * np.sqrt((df_s_irsa["fluxerr_y_templfit"] / df_s_irsa["flux_y_templfit"])**2
136+
xerr_s_irsa= 2.5 / np.log(10) * np.sqrt((df_s_irsa["fluxerr_y_templfit"] / df_s_irsa["flux_y_templfit"])**2
131137
+ (df_s_irsa["fluxerr_h_templfit"] / df_s_irsa["flux_h_templfit"])**2)
132138
yerr_s_irsa= 2.5 / np.log(10) * (df_s_irsa["fluxerr_y_templfit"] / df_s_irsa["flux_y_templfit"])
133139

tutorials/euclid_access/3_Euclid_intro_1D_spectra.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kernelspec:
1919

2020
+++
2121

22-
By the end of this tutorial, you will:
22+
By the end of this tutorial, you will:
2323
- Understand the basic characteristics of Euclid Q1 SIR 1D spectra.
2424
- What columns are available in the MER catalog.
2525
- How to query with ADQL in the MER catalog.
@@ -29,17 +29,27 @@ By the end of this tutorial, you will:
2929

3030
## Introduction
3131

32-
+++
32+
++
3333

34-
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe. The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO). On March 19, 2025 the data will be available on the ESA archive (https://easidr.esac.esa.int/sas/) and on the IRSA archive (https://irsa.ipac.caltech.edu).
34+
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe.
35+
The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO).
36+
On March 19, 2025 the data will be available on the [ESA archive](https://easidr.esac.esa.int/sas/) and on the [IRSA archive](https://irsa.ipac.caltech.edu).
3537

36-
These notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive. At the end of the notebook, we also include some information for how to access the Q1 data from the ESA archive. If you have any issues accessing data from the archives, please contact the helpdesk directly: IRSA (irsasupport@ipac.caltech.edu) and ESA (https://support.cosmos.esa.int/euclid).
38+
These Q1 notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive.
39+
If you have any issues accessing data from the archives, please contact the helpdesk directly: [IRSA helpdesk](irsasupport@ipac.caltech.edu) and [ESA Euclid Helpdesk](https://support.cosmos.esa.int/euclid).
3740

38-
For the Euclid Wide Survey standard operating mode, the telescope undertakes a 4-point dither pattern. At each position VIS and NISP each take a 570s exposure, consisting of a direct visible image and a red grism exposure. This is followed by further NISP exposures in the Y, J, and H band filters (112 seconds each). The telescope is then dithered, and the sequence is repeated starting with a different grism position angle. There are actually two operational grisms oriented 180 degrees from each other. Each grism which will be used twice in this sequence, but with slight angular offsets (+/- 4 degrees), effectively creating the four different grism angles (Scaramella et al. 2022, A&A 662, A112).
41+
For the Euclid Wide Survey standard operating mode, the telescope undertakes a 4-point dither pattern.
42+
At each position VIS and NISP each take a 570s exposure, consisting of a direct visible image and a red grism exposure.
43+
This is followed by further NISP exposures in the Y, J, and H band filters (112 seconds each).
44+
The telescope is then dithered, and the sequence is repeated starting with a different grism position angle.
45+
There are actually two operational grisms oriented 180 degrees from each other. Each grism which will be used twice in this sequence, but with slight angular offsets (+/- 4 degrees), effectively creating the four different grism angles (Scaramella et al. 2022, A&A 662, A112).
3946

40-
Data which can be obtained for SIR include: SIR "images", which effectively show the full image of objects with the spectral traces overlapping, and SIR 1D spectra for individual objects. Below we will describe how to access and process the 1D spectra products. For most users, simply accessing th 1D spectra is probably the preferred option, unless they would like to extract the spectrum again, or inspect the images to see if there is any artifact which might add noise to the spectrum.
47+
Data which can be obtained for SIR include: SIR "images", which effectively show the full image of objects with the spectral traces overlapping, and SIR 1D spectra for individual objects.
48+
In this notebook we describe how to access and process the 1D spectra products.
49+
For most users, simply accessing th 1D spectra is probably the preferred option, unless they would like to extract the spectrum again, or inspect the images to see if there is any artifact which might add noise to the spectrum.
4150

42-
This notebook provides an introduction to the SIR 1D spectra released as part of Euclid Q1. Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
51+
This notebook provides an introduction to the SIR 1D spectra released as part of Euclid Q1.
52+
Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
4353

4454
+++
4555

@@ -84,7 +94,7 @@ table_galaxy_candidates= 'euclid_q1_spectro_zcatalog_spe_galaxy_candidates'
8494
```
8595

8696
```{code-cell} ipython3
87-
## Change the settings so we can see all the columns in the dataframe and the full column width
97+
## Change the settings so we can see all the columns in the dataframe and the full column width
8898
## (to see the full long URL)
8999
pd.set_option('display.max_columns', None)
90100
pd.set_option('display.max_colwidth', None)
@@ -100,7 +110,7 @@ pd.set_option('display.max_colwidth', None)
100110
```{code-cell} ipython3
101111
obj_id=2739401293646823742
102112
103-
## Pull the data on these objects
113+
## Pull the data on these objects
104114
adql_object = f"SELECT * \
105115
FROM {table_1dspectra} \
106116
WHERE objectid = {obj_id} \
@@ -130,7 +140,7 @@ Currently IRSA has the spectra stored in very large files containing multiple (1
130140
#### Currently commented out
131141
132142
# ## Complete file url with the irsa url at the start
133-
# url = file_url
143+
# url = file_url
134144
# response = requests.get(url)
135145
136146
# hdul = fits.open(BytesIO(response.content)) # Open FITS file from memory

tutorials/euclid_access/5_Euclid_intro_SPE_catalog.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kernelspec:
1919

2020
+++
2121

22-
By the end of this tutorial, you will:
22+
By the end of this tutorial, you will:
2323
- Understand the basic characteristics of Euclid Q1 SPE catalogs.
2424
- Understand what SPE catalogs are available and how to view the columns in those catalogs.
2525
- How to query with ADQL in the SPE lines catalog to find strong H-alpha detections.
@@ -31,11 +31,16 @@ By the end of this tutorial, you will:
3131

3232
+++
3333

34-
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe. The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO). On March 19, 2025 the data will be available on the ESA archive (https://easidr.esac.esa.int/sas/) and on the IRSA archive (https://irsa.ipac.caltech.edu).
34+
Euclid is a European Space Agency (ESA) space mission with NASA participation, to study the geometry and nature of the dark Universe.
35+
The Quick Data Release 1 (Q1) are the first data release from the Euclid mission after the Early Release Observations (ERO).
36+
On March 19, 2025 the data will be available on the [ESA archive](https://easidr.esac.esa.int/sas/) and on the [IRSA archive](https://irsa.ipac.caltech.edu).
3537

36-
These notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive. At the end of the notebook, we also include some information for how to access the Q1 data from the ESA archive. If you have any issues accessing data from the archives, please contact the helpdesk directly: IRSA (irsasupport@ipac.caltech.edu) and ESA (https://support.cosmos.esa.int/euclid).
38+
These Q1 notebooks focus on how to access, download, and process Euclid Q1 data from the IRSA archive.
39+
If you have any issues accessing data from the archives, please contact the helpdesk directly: [IRSA helpdesk](irsasupport@ipac.caltech.edu) and [ESA Euclid Helpdesk](https://support.cosmos.esa.int/euclid).
3740

38-
Every one dimensional spectrum is processed through a template and line fitting pipeline, producing several different 'SPE' catalogs. This notebook provides an introduction to the SPE catalogs released as part of Euclid Q1. Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
41+
Every one dimensional spectrum is processed through a template and line fitting pipeline, producing several different 'SPE' catalogs.
42+
This notebook provides an introduction to the SPE catalogs released as part of Euclid Q1.
43+
Other Euclid notebooks show how to use other data products released as part of Euclid Q1.
3944

4045
+++
4146

@@ -87,7 +92,7 @@ df_im_irsa=im_table.to_table().to_pandas()
8792
```
8893

8994
```{code-cell} ipython3
90-
## Change the settings so we can see all the columns in the dataframe and the full column width
95+
## Change the settings so we can see all the columns in the dataframe and the full column width
9196
## (to see the full long URL)
9297
pd.set_option('display.max_columns', None)
9398
pd.set_option('display.max_colwidth', None)
@@ -134,7 +139,7 @@ im_mer_irsa=hdu_mer_irsa[0].data
134139
#### Make a quick and simple plot to show the full MER image, with its large FOV
135140

136141
```{code-cell} ipython3
137-
plt.imshow(im_mer_irsa, cmap='gray', origin='lower',
142+
plt.imshow(im_mer_irsa, cmap='gray', origin='lower',
138143
norm=ImageNormalize(im_mer_irsa, interval=PercentileInterval(99.9), stretch=AsinhStretch()))
139144
colorbar = plt.colorbar()
140145
```
@@ -150,7 +155,7 @@ tables = service.tables
150155
for tablename in tables.keys():
151156
if "tap_schema" not in tablename and "euclid" in tablename:
152157
tables[tablename].describe()
153-
158+
154159
```
155160

156161
```{code-cell} ipython3
@@ -175,7 +180,7 @@ for col in columns:
175180
```
176181

177182
```{code-cell} ipython3
178-
## Change the settings so we can see all the columns in the dataframe and the full column width
183+
## Change the settings so we can see all the columns in the dataframe and the full column width
179184
## (to see the full long URL)
180185
pd.set_option('display.max_columns', None)
181186
pd.set_option('display.max_colwidth', None)
@@ -188,7 +193,7 @@ pd.set_option('display.max_colwidth', None)
188193

189194
## Find some objects with spectra in our tileID
190195

191-
We specify the following conditions on our search:
196+
We specify the following conditions on our search:
192197
- The two signal to noise ratio columns (spe_line_snr_gf and spe_line_snr_di) should be greater than 5
193198
- We want to detect H-alpha.
194199
- We choose in which tileID to search, usign the tileID from the first notebook.
@@ -257,7 +262,7 @@ with fits.open(BytesIO(response.content), memmap=True) as hdul:
257262
hdu = hdul[df2['hdu'].iloc[0]]
258263
dat = Table.read(hdu, format='fits', hdu=1)
259264
df_obj_irsa = dat.to_pandas()
260-
265+
261266
```
262267

263268
### Now the data are read in, plot the spectrum with the H-alpha line labeled

0 commit comments

Comments
 (0)