Skip to content

Commit ed5ebe8

Browse files
committed
Using notes directive
1 parent 324329b commit ed5ebe8

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

tutorials/euclid_access/Euclid_ERO.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ coord = SkyCoord.from_name('NGC 6397')
148148
Now, we search for the Euclid ERO images using the `astroquery` package.
149149
Note that the Euclid ERO images are no in the cloud currently, but we access them directly from IRSA using IRSA's *Simple Image Access* (SIA) methods.
150150

151-
**Note:** The following only works for combined images (either extended or point source stacks). This would not work if there are multiple, let's say, H-band images of Euclid at a given position. Therefore, no time domain studies here (which is anyway not one of the main goals of Euclid).
151+
```{note}
152+
The following only works for combined images (either extended or point source stacks). This would not work if there are multiple, let's say, H-band images of Euclid at a given position. Therefore, no time domain studies here (which is anyway not one of the main goals of Euclid).
153+
```
152154

153155
The IRSA SIA products can be listed via
154156
```
@@ -213,7 +215,6 @@ for filt in filters:
213215
print(products)
214216
215217
summary_table.add_row( [filt , ";".join(products), str(np.unique(image_tab["facility_name"][sel].value)[0]), str(np.unique(image_tab["instrument_name"][sel].value)[0])] )
216-
217218
```
218219

219220
Let's check out the summary table that we have created. We see that we have all the 4 Euclid bands and what data products are available for each of them.
@@ -230,7 +231,9 @@ For each image, we create a cutout around the target of interest, using the `cut
230231

231232
We save the HDU to disk as it will be later used when we visualize the Euclid ERO FITS images in `Firefly`.
232233

233-
**Note:** You will notice that `Cutout2D` can be applied to an URL. That way, it we do not need to download the full image to create a cutout. This is a useful trick to keep in mind when analyzing large images. This makes creating cutout images very fast.
234+
```{note}
235+
You will notice that `Cutout2D` can be applied to an URL. That way, it we do not need to download the full image to create a cutout. This is a useful trick to keep in mind when analyzing large images. This makes creating cutout images very fast.
236+
```
234237

235238
```{code-cell} ipython3
236239
%%time
@@ -337,7 +340,9 @@ flux, fluxerr, flag = sep.sum_circle(img-median, objects['x'], objects['y'],r=3.
337340

338341
Now, we use the `photutils` Python package to perform PSF fitting. Here we assume a simple Gaussian with a FWHM given by `psf_fwhm` as PSF.
339342

340-
**Note:** We use a Gaussian PSF here for simplicity. The photometry can be improved by using a pixelated PSF measured directly from the Euclid images (for example by stacking stars).
343+
```{note}
344+
We use a Gaussian PSF here for simplicity. The photometry can be improved by using a pixelated PSF measured directly from the Euclid images (for example by stacking stars).
345+
```
341346

342347
```{code-cell} ipython3
343348
psf_fwhm = 0.16 # PSF FWHM in arcsec
@@ -355,7 +360,6 @@ psfphot = PSFPhotometry(psf_model,
355360
aperture_radius = 4,
356361
progress_bar = True)
357362
358-
359363
```
360364

361365
After initiating the `PSFPhotometry` object, we can run the PSF photometry measurement. This can take a while (typically between 1 and 2 minutes).
@@ -675,8 +679,9 @@ Now, check out the `Firefly` GUI. You can zoom the images, click on sources, fil
675679
***
676680

677681
## About this Notebook
682+
678683
**Author**: Andreas Faisst (IPAC Scientist)
679684

680-
**Updated**: March 19, 2025
685+
**Updated**: 2025-03-17
681686

682687
**Contact**: the [IRSA Helpdesk](https://irsa.ipac.caltech.edu/docs/help_desk.html) with questions or reporting problems.

0 commit comments

Comments
 (0)