@@ -159,7 +159,7 @@ We specify the following conditions on our search:
159159- Signal to noise ratio column (_ gf = gaussian fit) should be greater than 5
160160- We want to detect H-alpha.
161161- We choose in which tileID to search, usign the tileID from the first notebook.
162- - Choose spectroscopic redshift (spe_z) beween 1.4 and 1.6 and spe_z_prob greater than 0.999
162+ - Choose spectroscopic redshift (spe_z) between 1.4 and 1.6 and spe_z_prob greater than 0.999
163163- H-alpha line flux should be more than 2x10^16 erg s^-1 cm^-2
164164- Join the lines and galaxy candidates tables on object_id and spe_rank
165165
@@ -208,23 +208,19 @@ result_table2 = Irsa.query_tap(adql_object).to_qtable()
208208
209209### The following steps to read in the spectrum follows the 3_Euclid_intro_1D_spectra notebook.
210210
211- This involves reading in the spectrum without readin in the full FITS file, just pulling the extension we want.
212-
213211``` {code-cell} ipython3
214- file_uri = urllib.parse.urljoin(Irsa.tap_url, result_table2['uri '][0])
215- file_uri
212+ spectrum_path = urllib.parse.urljoin(Irsa.tap_url, result_table2['path '][0])
213+ spectrum_path
216214```
217215
218216``` {code-cell} ipython3
219- with fits.open(file_uri) as hdul:
220- spectrum = QTable.read(hdul[result_table2['hdu'][0]], format='fits')
221- spec_header = hdul[result_table2['hdu'][0]].header
217+ spectrum = QTable.read(spectrum_path)
222218```
223219
224220### Now the data are read in, plot the spectrum with the H-alpha line labeled
225221
226222``` {tip}
227- As we use astropy.visualization's ``quantity_support``, matplotlib automatically picks up the axis units from the quantitites we plot.
223+ As we use astropy.visualization's ``quantity_support``, matplotlib automatically picks up the axis units from the quantities we plot.
228224```
229225
230226``` {code-cell} ipython3
@@ -248,8 +244,8 @@ plt.title(f'Object ID {obj_id}')
248244
249245## About this Notebook
250246
251- ** Author** : Tiffany Meshkat, Anahita Alavi, Anastasia Laity, Andreas Faisst, Brigitta Sipőcz, Dan Masters, Harry Teplitz, Jaladh Singhal, Shoubaneh Hemmati, Vandana Desai
247+ ** Author** : Tiffany Meshkat, Anahita Alavi, Anastasia Laity, Andreas Faisst, Brigitta Sipőcz, Dan Masters, Harry Teplitz, Jaladh Singhal, Shoubaneh Hemmati, Vandana Desai, Troy Raen
252248
253- ** Updated** : 2025-03-31
249+ ** Updated** : 2025-09-23
254250
255251** Contact:** [ the IRSA Helpdesk] ( https://irsa.ipac.caltech.edu/docs/help_desk.html ) with questions or reporting problems.
0 commit comments