Skip to content

Commit 9337b02

Browse files
committed
Removed the exercise sections
1 parent 0bfa3a5 commit 9337b02

File tree

3 files changed

+0
-135
lines changed

3 files changed

+0
-135
lines changed

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -410,17 +410,6 @@ for i in range(len(sources_thr)):
410410
ax.add_artist(e)
411411
```
412412

413-
### Optional -- Access the data from the ESA archive website directly
414-
415-
+++
416-
417-
- Go to https://easidr.esac.esa.int/sas/ and sign in with your credentials.
418-
- Download all Level 2 MER Mosaic
419-
data on the bright, high proper motion star HD 168151
420-
- repeat the steps above with these data
421-
422-
+++
423-
424413
## About this Notebook
425414

426415
**Author**: Tiffany Meshkat (IPAC Scientist)

tutorials/euclid_access/2_Euclid_intro_MER_catalog.md

Lines changed: 0 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -140,100 +140,6 @@ plt.ylim(10,35)
140140
plt.title('10k Stars in MER catalog -- IRSA')
141141
```
142142

143-
## Exercise
144-
145-
+++
146-
147-
### Optional -- Access the data from the ESA archive website directly
148-
149-
+++
150-
151-
#### 1. Download the data from the ESA archive
152-
153-
- Go to https://easidr.esac.esa.int/sas/ and sign in with your credentials.
154-
- Click Search and then go to theADQL form and enter the following query:
155-
- NOTE if you have an issue downloading these data from the ESA archive, try again in a few hours. This query should work, but some users reported it sometimes does not work.
156-
157-
```{raw-cell}
158-
10000 stars (first in the catalog, no particular order)
159-
160-
SELECT TOP 10000 mer.RIGHT_ASCENSION, mer.DECLINATION , mer.FLUX_VIS_PSF,mer.FLUXERR_VIS_PSF, mer.FLUX_Y_TEMPLFIT, mer.FLUXERR_Y_TEMPLFIT, mer.FLUX_J_TEMPLFIT,mer.FLUXERR_J_TEMPLFIT, mer.FLUX_H_TEMPLFIT, mer.FLUXERR_H_TEMPLFIT, mer.FWHM, mer.object_id
161-
FROM catalogue.mer_catalogue AS mer
162-
JOIN catalogue.phz_classification AS phz_class
163-
ON phz_class.object_id=mer.object_id
164-
WHERE phz_class.phz_classification = 1
165-
AND mer.FLUX_VIS_PSF >0
166-
AND mer.FLUX_Y_TEMPLFIT >0
167-
AND mer.FLUX_J_TEMPLFIT >0
168-
AND mer.FLUX_H_TEMPLFIT >0
169-
```
170-
171-
This query searches for 10000 stars in VIS in the MER catalog (the first 10000 as they appear in the MER catalog).
172-
173-
Download the results by clicking the third icon with the down arrow.
174-
175-
Gunzip in the command line:
176-
177-
mv original_cat.vot.gz to mer_cat.vot to remove the .gz extension
178-
179-
You should now have a VOT table.
180-
181-
+++
182-
183-
### Also download another catalog:
184-
185-
```{raw-cell}
186-
10000 galaxies (first in the catalog, no particular order)
187-
188-
SELECT TOP 10000 mer.RIGHT_ASCENSION, mer.DECLINATION , mer.FLUX_VIS_PSF,mer.FLUXERR_VIS_PSF, mer.FLUX_Y_TEMPLFIT, mer.FLUXERR_Y_TEMPLFIT, mer.FLUX_J_TEMPLFIT,mer.FLUXERR_J_TEMPLFIT, mer.FLUX_H_TEMPLFIT, mer.FLUXERR_H_TEMPLFIT, mer.FWHM, mer.object_id
189-
FROM catalogue.mer_catalogue AS mer
190-
JOIN catalogue.phz_classification AS phz_class
191-
ON phz_class.object_id=mer.object_id
192-
WHERE phz_class.phz_classification = 2
193-
AND mer.FLUX_VIS_PSF >0
194-
AND mer.FLUX_Y_TEMPLFIT >0
195-
AND mer.FLUX_J_TEMPLFIT >0
196-
AND mer.FLUX_H_TEMPLFIT >0
197-
```
198-
199-
Perform the same steps to remove the extension and have a VOT table.
200-
201-
+++
202-
203-
#### Below are a few other example queries to provide some example ADQL queries:
204-
205-
```{raw-cell}
206-
10000 brightest stars
207-
208-
SELECT TOP 10000 mer.RIGHT_ASCENSION, mer.DECLINATION , mer.flux_vis_1fwhm_aper, mer.FLUX_Y_1FWHM_APER, mer.FLUX_J_1FWHM_APER, mer.FLUX_H_1FWHM_APER,
209-
mer.DEBLENDED_FLAG, mer.BLENDED_PROB, mer.BINARY_FLAG, mer. POINT_LIKE_FLAG, mer.FWHM, mer.object_id, star.phz_classification
210-
FROM catalogue.mer_catalogue AS mer
211-
JOIN catalogue.phz_classification AS star
212-
ON star.object_id=mer.object_id
213-
WHERE star.phz_classification = 1
214-
AND mer.FLUX_Y_1FWHM_APER <> 'NaN'
215-
AND mer.flux_vis_1fwhm_aper <> 'NaN'
216-
AND mer.flux_J_1fwhm_aper <> 'NaN'
217-
AND mer.flux_H_1fwhm_aper <> 'NaN'
218-
ORDER BY mer.FLUX_VIS_1FWHM_APER DESC
219-
____________________________
220-
10000 reddest stars
221-
222-
SELECT TOP 100 mer.RIGHT_ASCENSION, mer.DECLINATION , mer.flux_vis_1fwhm_aper, mer.FLUX_Y_1FWHM_APER, mer.FLUX_J_1FWHM_APER, mer.FLUX_H_1FWHM_APER,
223-
mer.DEBLENDED_FLAG, mer.BLENDED_PROB, mer.BINARY_FLAG, mer. POINT_LIKE_FLAG, mer.FWHM, mer.object_id, star.phz_classification,
224-
(mer.flux_vis_1fwhm_aper - mer.FLUX_H_1FWHM_APER) AS flux_difference
225-
FROM catalogue.mer_catalogue AS mer
226-
JOIN catalogue.phz_classification AS star
227-
ON star.object_id=mer.object_id
228-
WHERE star.phz_classification = 1
229-
AND mer.FLUX_Y_1FWHM_APER <> 'NaN'
230-
AND mer.flux_vis_1fwhm_aper <> 'NaN'
231-
AND mer.flux_J_1fwhm_aper <> 'NaN'
232-
AND mer.flux_H_1fwhm_aper <> 'NaN'
233-
ORDER BY flux_difference DESC
234-
____________________________
235-
```
236-
237143
## About this Notebook
238144

239145
**Author**: Tiffany Meshkat (IPAC Scientist)

tutorials/euclid_access/3_Euclid_intro_1D_spectra.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -163,36 +163,6 @@ plt.ylabel('Flux'+dat['SIGNAL'].unit.to_string('latex_inline'))
163163
plt.title(obj_id)
164164
```
165165

166-
## Exercise
167-
168-
+++
169-
170-
### Optional -- Access the data from the ESA archive website directly
171-
172-
+++
173-
174-
#### 1. Download the data from the ESA archive
175-
176-
- Go to https://easidr.esac.esa.int/sas/ and sign in with your credentials.
177-
- Go to the ADQL form and do the following search:
178-
179-
```{raw-cell}
180-
SELECT TOP 10 spec.source_id
181-
FROM sedm.spectra_source as spec
182-
JOIN catalogue.phz_classification AS phz_class
183-
ON phz_class.object_id=spec.source_id
184-
WHERE phz_class.phz_classification = 2
185-
```
186-
187-
- This shows the first 10 sources with spectra in the list.
188-
- Click the link/chain
189-
- Make sure "source_id" is selected under "IDs columns"
190-
- Click "show data" then click the download button next to "Spectra -- source_id"
191-
192-
NOTE: You need to unzip the file to get a fits file with the combined spectra. On a mac you can do this by just double clicking the file to unzip.
193-
194-
+++
195-
196166
## About this Notebook
197167

198168
**Author**: Tiffany Meshkat (IPAC Scientist)

0 commit comments

Comments
 (0)