Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

IRSA Tutorials

Euclid Q1: MER Mosaics

Learning Goals

By the end of this tutorial, you will:

Introduction

Euclid launched in July 2023 as a European Space Agency (ESA) mission with involvement by NASA. The primary science goals of Euclid are to better understand the composition and evolution of the dark Universe. The Euclid mission is providing space-based imaging and spectroscopy as well as supporting ground-based imaging to achieve these primary goals. These data will be archived by multiple global repositories, including IRSA, where they will support transformational work in many areas of astrophysics.

Euclid Quick Release 1 (Q1) consists of consists of ~30 TB of imaging, spectroscopy, and catalogs covering four non-contiguous fields: Euclid Deep Field North (22.9 sq deg), Euclid Deep Field Fornax (12.1 sq deg), Euclid Deep Field South (28.1 sq deg), and LDN1641.

Among the data products included in the Q1 release are the Level 2 MER mosaics. These are multiwavelength mosaics created from images taken with the Euclid instruments (VIS and NISP), as well as a variety of ground-based telescopes. All of the mosaics have been created according to a uniform tiling on the sky, and mapped to a common pixel scale. This notebook provides a quick introduction to accessing MER mosaics from IRSA. If you have questions about it, please contact the IRSA helpdesk.

Data volume

Each MER image is approximately 1.47 GB. Downloading can take some time.

Imports

1. Search for multiwavelength Euclid Q1 MER mosaics that cover the star HD 168151

Below we set a search radius of 10 arcsec and convert the name “HD 168151” into coordinates.

Use IRSA’s Simple Image Access (SIA) API to search for all Euclid MER mosaics that overlap with the search region you have specified. We specify the euclid_DpdMerBksMosaic “collection” because it lists all of the multiwavelength MER mosaics, along with their associated catalogs.

There are currently four collections available:

For more information on the VIS and NIR calibrated frames, please read the IRSA User Guide

In this notebook, we will focus on downloading and visualizing the MER mosaic data.

This table lists all MER mosaic images available in this search position. These mosaics include the Euclid VIS, Y, J, H images, as well as ground-based telescopes which have been put on the same pixel scale. For more information, see the Euclid documentation at IPAC.

Note that there are various image types are returned as well, we filter out the science images from these:

Loading...

2. Retrieve a Euclid Q1 MER mosaic image in the VIS bandpass

Let’s first look at one example full image, the VIS image

Note that ‘access_estsize’ is in units of kb

https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/VIS/EUC_MER_BGSUB-MOSAIC-VIS_TILE102158277-27C4DD_20241025T124812.358980Z_00.00.fits
Please note this image is 1.474566 GB. With 230 Mbps internet download speed, it takes about 1 minute to download.
Loading...

Extract the tileID of this image from the filename

The MER tile ID for this object is : 102158277

Retrieve the MER image -- note this file is about 1.46 GB

Filename: /home/runner/.cache/astropy/download/url/57396083c69b787af6e808156a46c70e/contents
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU      48   (19200, 19200)   float32   
None

If you would like to save the MER mosaic to disk, uncomment the following cell. Please also define a suitable download directory; by default it will be data at the same location as your notebook.

Have a look at the header information for this image.

SIMPLE = T / conforms to FITS standard BITPIX = -32 / array data type NAXIS = 2 / number of array dimensions NAXIS1 = 19200 NAXIS2 = 19200 EQUINOX = 2000.00000000 / Mean equinox RADESYS = 'ICRS ' / Astrometric system CTYPE1 = 'RA---TAN' / WCS projection type for this axis CUNIT1 = 'deg ' / Axis unit CRVAL1 = 2.737406439000E+02 / World coordinate on this axis CRPIX1 = 9600 / Reference pixel on this axis CD1_1 = -2.777777777778E-05 / Linear projection matrix CD1_2 = 0.000000000000E+00 / Linear projection matrix CTYPE2 = 'DEC--TAN' / WCS projection type for this axis CUNIT2 = 'deg ' / Axis unit CRVAL2 = 6.450000000000E+01 / World coordinate on this axis CRPIX2 = 9600 / Reference pixel on this axis CD2_1 = 0.000000000000E+00 / Linear projection matrix CD2_2 = 2.777777777778E-05 / Linear projection matrix COMMENT SOFTNAME= 'CT_SWarp' / The software that processed those data SOFTVERS= '10.2 ' / Version of the software SOFTDATE= '2024-03-18' / Release date of the software SOFTAUTH= '2020-2024 Euclid Consortium' / Maintainer of the software SOFTINST= 'Euclid Consortium https://www.euclid-ec.org/' / Institute COMMENT AUTHOR = 'ial ' / Who ran the software ORIGIN = 'pr-02.sdcit-prod-ops.altecspace.it' / Where it was done DATE = '2024-10-25T12:31:02' / When it was started (GMT) COMBINET= 'MEDIAN ' / COMBINE_TYPE config parameter for CT_SWarp COMMENT COMMENT Propagated FITS keywords COMMENT COMMENT Axis-dependent config parameters RESAMPT1= 'BILINEAR' / RESAMPLING_TYPE config parameter CENTERT1= 'ALL ' / CENTER_TYPE config parameter PSCALET1= 'MEDIAN ' / PIXELSCALE_TYPE config parameter RESAMPT2= 'BILINEAR' / RESAMPLING_TYPE config parameter CENTERT2= 'ALL ' / CENTER_TYPE config parameter PSCALET2= 'MEDIAN ' / PIXELSCALE_TYPE config parameter MAGZERO = 24.6 / AB zeropoint FILTER = 'VIS ' / the filter name PPOID = 'MER_ProcessTile_EUCLID_2.0.2-QUICK_RELEASE-glibet-PLAN-000003-0VAPS&' CONTINUE '1GC-20241024-174435-29-RETRY-241025112601&' CONTINUE '' / pipeline PPOID DATASETR= 'Q1_R1 ' / pipeline DATASETRELEASE PIPDEFID= 'MER_ProcessTile_EUCLID_2.0.2' / the pipeline definition ID PPLANID = 'MER_ProcessTile_EUCLID_2.0.2-QUICK_RELEASE-glibet-PLAN-000003' / the PSWNAME = 'MER_ProcessTile' / the pipeline software name PSWREL = '11.0.1 ' / the pipeline software release

Lets extract just the primary image.

(19200, 19200)

Due to the large field of view of the MER mosaic, let’s cut out a smaller section (2"x2")of the MER mosaic to inspect the image

<Figure size 640x480 with 2 Axes>

Uncomment the code below to plot an image of the entire field of view of the MER mosaic.

3. Create multiwavelength Euclid Q1 MER cutouts of a region of interest

Loading...

Create an array with the instrument and filter name so we can add this to the plots.

Loading...

4. Define cutout parameters for a smaller region of interest

Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/NISP/EUC_MER_BGSUB-MOSAIC-NIR-H_TILE102158277-797A7D_20241025T122514.635323Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/NISP/EUC_MER_BGSUB-MOSAIC-NIR-J_TILE102158277-DA51EA_20241025T122533.612365Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/NISP/EUC_MER_BGSUB-MOSAIC-NIR-Y_TILE102158277-1FE0D9_20241025T122512.777703Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/GPC/EUC_MER_BGSUB-MOSAIC-PANSTARRS-I_TILE102158277-C2B970_20241025T120200.727193Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/VIS/EUC_MER_BGSUB-MOSAIC-VIS_TILE102158277-27C4DD_20241025T124812.358980Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/MEGACAM/EUC_MER_BGSUB-MOSAIC-CFIS-U_TILE102158277-DB8920_20241025T120138.608462Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/MEGACAM/EUC_MER_BGSUB-MOSAIC-CFIS-R_TILE102158277-CA7AB3_20241025T120300.417407Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/HSC/EUC_MER_BGSUB-MOSAIC-WISHES-G_TILE102158277-76C6DB_20241025T120401.488065Z_00.00.fits
Opened https://irsa.ipac.caltech.edu/ibe/data/euclid/q1/MER/102158277/HSC/EUC_MER_BGSUB-MOSAIC-WISHES-Z_TILE102158277-E3133D_20241025T120342.580582Z_00.00.fits
Filename: (No file associated with this HDUList)
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU      57   (600, 600)   float32   
  1  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  2  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  3  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  4  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  5  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  6  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  7  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   
  8  PRIMARY       1 PrimaryHDU      56   (600, 600)   float32   

5. Visualize multiwavelength Euclid Q1 MER cutouts

We need to determine the number of images for the grid layout, and then plot each cutout.

<Figure size 1600x1200 with 9 Axes>

6. Identify and measure sources in Euclid Q1 MER cutouts with sep

First we list all the filters so you can choose which cutout you want to extract sources on. We will choose VIS.

Extract some sources from the cutout using sep (python package based on source extractor)

Following the sep tutorial, first create a background for the cutout https://sep.readthedocs.io/en/stable/tutorial.html

Need to do some initial steps (swap byte order) with the cutout to prevent sep from crashing. Then create a background model with sep.

<Figure size 640x480 with 2 Axes>

Inspect the background rms as well

<Figure size 640x480 with 2 Axes>

Subtract the background

Source extraction via sep

Found 114 objects above flux threshold

7. Review detected sources on the VIS cutout

We plot the VIS cutout with the sources detected overplotted with a red ellipse

<Figure size 640x480 with 1 Axes>

About this Notebook

Updated: 2025-03-31

Contact: the IRSA Helpdesk with questions or reporting problems.