Skip to content

Commit 5770d70

Browse files
committed
Update text
Update notebook
1 parent 5a11329 commit 5770d70

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

DP1/100_How_to_Use_RSP_Tools/103_Image_access_and_display/103_7_Big_deep_coadd_cutout.ipynb

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Data Release: <a href=\"https://dp1.lsst.io\">Data Preview 1</a> <br>\n",
2323
"Container Size: large <br>\n",
2424
"LSST Science Pipelines version: r29.2.0 <br>\n",
25-
"Last verified to run: 2025-09-19 <br>\n",
25+
"Last verified to run: 2025-09-22 <br>\n",
2626
"Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>"
2727
]
2828
},
@@ -68,8 +68,6 @@
6868
"source": [
6969
"### 1.1. Import packages\n",
7070
"\n",
71-
"`numpy` is imported for numerical operations and `matplotlib.pyplot` for plotting and visualization.\n",
72-
"`lsst.daf.butler.Butler` provides access to datasets, and `lsst.afw.display` is used for displaying astronomical images.\n",
7371
"Geometry classes from `lsst.geom` handle pixel and sky coordinates: `Box2I`, `Point2I`, and `Extent2I` define integer-based image regions, `Point2D` represents floating-point coordinates, and `SpherePoint` with `degrees` specifies positions on the celestial sphere.\n",
7472
"`lsst.sphgeom.Box` defines regions on the sky.\n",
7573
"`GetTemplateTask` (`lsst.ip.diffim`) retrieves template images for image differencing, while `lsst.pipe.tasks.makeDiscreteSkyMap` generates discrete sky maps for defining sky coverage."
@@ -363,6 +361,14 @@
363361
")"
364362
]
365363
},
364+
{
365+
"cell_type": "markdown",
366+
"id": "e5f03ac9-72d1-46e1-97be-50f0ce071429",
367+
"metadata": {},
368+
"source": [
369+
"Get the coadd from the data reference."
370+
]
371+
},
366372
{
367373
"cell_type": "code",
368374
"execution_count": null,
@@ -373,6 +379,14 @@
373379
"bcg_coadd = butler.get(bcg_data_ref)"
374380
]
375381
},
382+
{
383+
"cell_type": "markdown",
384+
"id": "58613b7a-9f1f-4156-b8ba-cb08c915996d",
385+
"metadata": {},
386+
"source": [
387+
"Get the WCs from the coadd."
388+
]
389+
},
376390
{
377391
"cell_type": "code",
378392
"execution_count": null,
@@ -394,6 +408,14 @@
394408
" dec_bcg * degrees)"
395409
]
396410
},
411+
{
412+
"cell_type": "markdown",
413+
"id": "f1bb7b34-66e6-4bbf-9381-a66a2bcc021c",
414+
"metadata": {},
415+
"source": [
416+
"Use the plate sclate at the BCG location."
417+
]
418+
},
397419
{
398420
"cell_type": "code",
399421
"execution_count": null,
@@ -404,6 +426,14 @@
404426
"plate_scale_bcg = wcs_bcg.getPixelScale(Point2D(bcg_point)).asArcseconds()"
405427
]
406428
},
429+
{
430+
"cell_type": "markdown",
431+
"id": "e0f9765b-9ec7-472f-9520-b97013e931f5",
432+
"metadata": {},
433+
"source": [
434+
"Set the plate scale in the new skymap."
435+
]
436+
},
407437
{
408438
"cell_type": "code",
409439
"execution_count": null,
@@ -602,7 +632,7 @@
602632
"\n",
603633
"Reset the `afwDisplay` backend to be Firefly and start the display.\n",
604634
"A new tab will open, containing the Firefly interface.\n",
605-
"Note that Firelfly will use the WCS information to display the image in celestial coordinates."
635+
"Note that Firelfly will use the new WCS information to display the image in celestial coordinates."
606636
]
607637
},
608638
{

0 commit comments

Comments
 (0)