Skip to content

Commit ddcedd5

Browse files
committed
fix missing astropy.io.fits import
1 parent 165b869 commit ddcedd5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Data Release: DP1 <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-09 <br>\n",
25+
"Last verified to run: 2025-11-20 <br>\n",
2626
"Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>"
2727
]
2828
},
@@ -415,7 +415,7 @@
415415
"id": "458a4d25-ca95-4f92-b76e-986b7a03b320",
416416
"metadata": {},
417417
"source": [
418-
"> Figure 1: The cutout image, displayed in grayscale with a scale bar at right.\n",
418+
"> **Figure 1:** The cutout image, displayed in grayscale with a scale bar at right.\n",
419419
"\n",
420420
"#### 3.2.1. Option to save cutout to disk\n",
421421
"\n",
@@ -468,6 +468,8 @@
468468
"metadata": {},
469469
"outputs": [],
470470
"source": [
471+
"# from astropy.io import fits\n",
472+
"\n",
471473
"# fits.info(sodaCutout)\n",
472474
"\n",
473475
"# sodaCutout_small = os.path.join(tempdir, 'cutout-circle_small.fits')\n",
@@ -540,7 +542,7 @@
540542
"id": "c83e5413-2edf-41fd-8542-b622ba8324b0",
541543
"metadata": {},
542544
"source": [
543-
"> Figure 2: A rectangular polygon cutout from a rotated `visit_image`."
545+
"> **Figure 2:** A rectangular polygon cutout from a rotated `visit_image`."
544546
]
545547
},
546548
{
@@ -661,7 +663,7 @@
661663
"id": "dfc8a459-e168-40ab-81a5-1148e7536455",
662664
"metadata": {},
663665
"source": [
664-
"> Figure 3: A comparison of a cutout generated with the circle function (same as Figure 1; left panel) with a cutout defined using the `polygon` functionality defined using the same edge size (middle panel). The right panel uses `polygon` but accounts for the $cos({\\rm dec})$ term, to replicate the same cutout that was made using circle."
666+
"> **Figure 3:** A comparison of a cutout generated with the circle function (same as Figure 1; left panel) with a cutout defined using the `polygon` functionality defined using the same edge size (middle panel). The right panel uses `polygon` but accounts for the $cos({\\rm dec})$ term, to replicate the same cutout that was made using circle."
665667
]
666668
},
667669
{

0 commit comments

Comments
 (0)