|
22 | 22 | "Data Release: <a href=\"https://dp1.lsst.io\">Data Preview 1</a> <br>\n", |
23 | 23 | "Container Size: large <br>\n", |
24 | 24 | "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", |
26 | 26 | "Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>" |
27 | 27 | ] |
28 | 28 | }, |
|
68 | 68 | "source": [ |
69 | 69 | "### 1.1. Import packages\n", |
70 | 70 | "\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", |
73 | 71 | "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", |
74 | 72 | "`lsst.sphgeom.Box` defines regions on the sky.\n", |
75 | 73 | "`GetTemplateTask` (`lsst.ip.diffim`) retrieves template images for image differencing, while `lsst.pipe.tasks.makeDiscreteSkyMap` generates discrete sky maps for defining sky coverage." |
|
363 | 361 | ")" |
364 | 362 | ] |
365 | 363 | }, |
| 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 | + }, |
366 | 372 | { |
367 | 373 | "cell_type": "code", |
368 | 374 | "execution_count": null, |
|
373 | 379 | "bcg_coadd = butler.get(bcg_data_ref)" |
374 | 380 | ] |
375 | 381 | }, |
| 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 | + }, |
376 | 390 | { |
377 | 391 | "cell_type": "code", |
378 | 392 | "execution_count": null, |
|
394 | 408 | " dec_bcg * degrees)" |
395 | 409 | ] |
396 | 410 | }, |
| 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 | + }, |
397 | 419 | { |
398 | 420 | "cell_type": "code", |
399 | 421 | "execution_count": null, |
|
404 | 426 | "plate_scale_bcg = wcs_bcg.getPixelScale(Point2D(bcg_point)).asArcseconds()" |
405 | 427 | ] |
406 | 428 | }, |
| 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 | + }, |
407 | 437 | { |
408 | 438 | "cell_type": "code", |
409 | 439 | "execution_count": null, |
|
602 | 632 | "\n", |
603 | 633 | "Reset the `afwDisplay` backend to be Firefly and start the display.\n", |
604 | 634 | "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." |
606 | 636 | ] |
607 | 637 | }, |
608 | 638 | { |
|
0 commit comments