|
83 | 83 | "From the `lsst` package, import modules for accessing the Table Access Protocol (TAP) service, image display functions, and the Simple Image Access (SIA) service from the LSST Science Pipelines (<a href=\"https://pipelines.lsst.io/\">pipelines.lsst.io</a>).\n", |
84 | 84 | "\n", |
85 | 85 | "Functions from `pyvo` are imported to perform and parse results from Datalink and SODA queries. This is used to obtain image products cutouts from the SIA service.\n", |
86 | | - "\n" |
| 86 | + "\n", |
| 87 | + "The `reproject` package is an `astropy`-adjacent package that provides access to coordinate transformations between images with world coordinate systems (WCS), and will be used to align visit images with different WCS. " |
87 | 88 | ] |
88 | 89 | }, |
89 | 90 | { |
|
193 | 194 | "id": "f8f5a54d-96ce-4323-8d20-98ad6b57ddee", |
194 | 195 | "metadata": {}, |
195 | 196 | "source": [ |
196 | | - "#### 1.2.2 Set up the temporary directory\n", |
| 197 | + "#### 1.2.2 Set up a temporary directory\n", |
197 | 198 | "\n", |
198 | 199 | "The Rubin cutout service allows the user to save cutouts as fits files locally on the Rubin Science Platform (RSP).\n", |
199 | 200 | "\n", |
|
267 | 268 | "id": "f52f721d-1983-4605-8161-8f29187b5757", |
268 | 269 | "metadata": {}, |
269 | 270 | "source": [ |
270 | | - "#### 1.2.3 make function to generate a gif from png files" |
| 271 | + "#### 1.2.3 Generate a gif from pngs\n", |
| 272 | + "\n", |
| 273 | + "The function below will generate a gif to visualize all of the png cutout files produced in the notebook." |
271 | 274 | ] |
272 | 275 | }, |
273 | 276 | { |
|
300 | 303 | "id": "82f46573-f165-479a-b94e-1c025fd8bcca", |
301 | 304 | "metadata": {}, |
302 | 305 | "source": [ |
303 | | - "#### 1.2.4. cutouts\n", |
| 306 | + "#### 1.2.4. Generate cutouts\n", |
304 | 307 | "Define a function to get an image cutout from the cutout service." |
305 | 308 | ] |
306 | 309 | }, |
|
331 | 334 | "id": "3d998864-d33a-449d-a28a-42e94607f901", |
332 | 335 | "metadata": {}, |
333 | 336 | "source": [ |
334 | | - "#### 1.2.4. subplots\n", |
| 337 | + "#### 1.2.4. Set up subplots\n", |
335 | 338 | "Define a function to organize the display with matplotlib of many cutouts." |
336 | 339 | ] |
337 | 340 | }, |
|
432 | 435 | "id": "e303cf67-36d1-4d4c-8527-76561dd528b3", |
433 | 436 | "metadata": {}, |
434 | 437 | "source": [ |
435 | | - "### 2.1.1 Query the SIA service for images\n" |
| 438 | + "#### 2.1.1 Query the SIA service for images\n" |
436 | 439 | ] |
437 | 440 | }, |
438 | 441 | { |
|
853 | 856 | "> **Figure 3**: Many cutouts of the science visit images of the DIA object, in chronological order, after being reprojected onto the same WCS as the template image cutout (right). " |
854 | 857 | ] |
855 | 858 | }, |
| 859 | + { |
| 860 | + "cell_type": "markdown", |
| 861 | + "id": "4340da3a-3f25-4007-8615-c204d3ef3e23", |
| 862 | + "metadata": {}, |
| 863 | + "source": [ |
| 864 | + "## 4. Visualize cutouts with gif\n", |
| 865 | + "\n", |
| 866 | + "Below, the cell will use the `make_gif` function defined in Section 1.2.3 to make a single gif movie out of all the pngs in the folder from the visit images in chronological order." |
| 867 | + ] |
| 868 | + }, |
856 | 869 | { |
857 | 870 | "cell_type": "code", |
858 | 871 | "execution_count": null, |
|
0 commit comments