Skip to content

Commit d1878e6

Browse files
committed
final tweaks
1 parent 2a0d03e commit d1878e6

1 file changed

Lines changed: 21 additions & 15 deletions

File tree

DP2/102_Visit_and_tract_metadata.ipynb

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"A new set of tutorials will accompany the DP2 release.\n",
6060
"\n",
6161
"**Visits:**\n",
62-
"One visit is one observation (one image; one exposure) with the LSSTCam[lsstcam.lsst.io](https://lsstcam.lsst.io/), centered on a sky coordinate, and obtained with a single filter and sky rotation.\n",
62+
"One visit is one observation (one image; one exposure) with the LSSTCam ([lsstcam.lsst.io](https://lsstcam.lsst.io/)), centered on a sky coordinate, and obtained with a single filter and sky rotation.\n",
6363
"\n",
6464
"**Tracts:**\n",
6565
"One tract is one square region of LSST's all-sky tesselation (\"skymap\"), $~1.66$ deg per side.\n",
@@ -145,6 +145,24 @@
145145
"file_path = '/rubin/cst_repos/tutorial-notebooks-data/data/'"
146146
]
147147
},
148+
{
149+
"cell_type": "markdown",
150+
"id": "8d85958b-b671-42f0-91d5-f980e1ef4ac9",
151+
"metadata": {},
152+
"source": [
153+
"**Option**: to create interactive plots with zoom-in capabilities, un-comment and execute the following cell. All plots created after this will be interactive. To return to static plots, comment-out this cell, restart the kernel and clear all outputs, and re-execute the cells of this notebook."
154+
]
155+
},
156+
{
157+
"cell_type": "code",
158+
"execution_count": null,
159+
"id": "6e2014d4-993a-49c3-b81f-0675035a5762",
160+
"metadata": {},
161+
"outputs": [],
162+
"source": [
163+
"# %matplotlib widget"
164+
]
165+
},
148166
{
149167
"cell_type": "markdown",
150168
"id": "60748c6f-7847-4353-9d9b-f4f1d5a02fee",
@@ -559,7 +577,7 @@
559577
"source": [
560578
"Instead of a 2D histogram, the cell below offers the option to mark each visit as a separate, semi-transparent marker the size of the LSSTCam FOV on the sky (radius ~1.75 deg).\n",
561579
"\n",
562-
"> **Warning:** The mode of plotting in the following cell takes a few minutes to render, is not as informative as a histogram, and will not scale well as the number of visits increases. But it is possible, as there are only ~28,000 visits of DP2."
580+
"> **Warning:** The mode of plotting in the following cell takes a few minutes to render, is not as informative as a histogram, and will not scale well as the number of visits increases. But it is possible, as there are only ~28,000 visits of DP2. If the matplotlib widget for interactive plots has been enabled, the plot will still display but it will not zoom smoothly. "
563581
]
564582
},
565583
{
@@ -1034,19 +1052,7 @@
10341052
"source": [
10351053
"### 4.3. Sky distribution\n",
10361054
"\n",
1037-
"Combine the visits and tracts maps into a single plot, and show the locations of the three targets.\n",
1038-
"\n",
1039-
"Option: to create interactive plots with zoom-in capabilities, uncomment and execute the following cell. All plots created after this will be interactive. To return to static plots, comment-out this cell, restart the kernel and clear all outputs, and re-execute the cells of this notebook."
1040-
]
1041-
},
1042-
{
1043-
"cell_type": "code",
1044-
"execution_count": null,
1045-
"id": "fbe7ff9f-6ecb-4221-8a31-465f792067e8",
1046-
"metadata": {},
1047-
"outputs": [],
1048-
"source": [
1049-
"# %matplotlib widget"
1055+
"Combine the visits and tracts maps into a single plot, and show the locations of the three targets."
10501056
]
10511057
},
10521058
{

0 commit comments

Comments
 (0)