Skip to content

Commit 0fabef8

Browse files
Tiffany MeshkatTiffany Meshkat
authored andcommitted
Changed the MER plot to be 1200 by 1200 pixels
1 parent 1cea801 commit 0fabef8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Each MER image is approximately 1.47 GB. Downloading can take some time.
5050

5151
```{code-cell} ipython3
5252
# Uncomment the next line to install dependencies if needed.
53-
# !pip install numpy astropy matplotlib pyvo sep>=1.4 fsspec pandas
53+
# !pip install numpy astropy>=6.0 matplotlib pyvo sep>=1.4 fsspec pandas
5454
```
5555

5656
```{code-cell} ipython3
@@ -184,13 +184,21 @@ im_mer_irsa=hdu_mer_irsa[0].data
184184
print(im_mer_irsa.shape)
185185
```
186186

187-
Make a simple plot to show the large field of view of the full MER mosaic.
187+
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
188188

189189
```{code-cell} ipython3
190-
plt.imshow(im_mer_irsa, cmap='gray', origin='lower', norm=ImageNormalize(im_mer_irsa, interval=PercentileInterval(99.9), stretch=AsinhStretch()))
190+
plt.imshow(im_mer_irsa[0:1200,0:1200], cmap='gray', origin='lower', norm=ImageNormalize(im_mer_irsa[0:1200,0:1200], interval=PercentileInterval(99.9), stretch=AsinhStretch()))
191191
colorbar = plt.colorbar()
192192
```
193193

194+
Uncomment the code below to an image of the full field of view of the MER mosaic.
195+
196+
```{code-cell} ipython3
197+
# # Full MER mosaic, may take a minute for python to create this image
198+
# plt.imshow(im_mer_irsa, cmap='gray', origin='lower', norm=ImageNormalize(im_mer_irsa, interval=PercentileInterval(99.9), stretch=AsinhStretch()))
199+
# colorbar = plt.colorbar()
200+
```
201+
194202
## 3. Create multiwavelength Euclid Q1 MER cutouts of a region of interest
195203

196204
+++

0 commit comments

Comments
 (0)