|
28 | 28 | { |
29 | 29 | "cell_type": "markdown", |
30 | 30 | "id": "c30ab333-d5e6-460d-b1cc-16ffc1df3835", |
31 | | - "metadata": { |
32 | | - "execution": { |
33 | | - "iopub.execute_input": "2025-05-07T23:53:31.390770Z", |
34 | | - "iopub.status.busy": "2025-05-07T23:53:31.390430Z", |
35 | | - "iopub.status.idle": "2025-05-07T23:53:31.393967Z", |
36 | | - "shell.execute_reply": "2025-05-07T23:53:31.393488Z", |
37 | | - "shell.execute_reply.started": "2025-05-07T23:53:31.390730Z" |
38 | | - } |
39 | | - }, |
| 31 | + "metadata": {}, |
40 | 32 | "source": [ |
41 | 33 | "**Learning objective:** Retrieve photometry and plot a light curve for an Active Galactic Nucleus from DP1." |
42 | 34 | ] |
43 | 35 | }, |
44 | 36 | { |
45 | 37 | "cell_type": "markdown", |
46 | 38 | "id": "96bc973d-d47f-432b-a85e-4a3cdabe7dcf", |
47 | | - "metadata": { |
48 | | - "execution": { |
49 | | - "iopub.execute_input": "2025-05-28T18:28:11.207406Z", |
50 | | - "iopub.status.busy": "2025-05-28T18:28:11.206834Z", |
51 | | - "iopub.status.idle": "2025-05-28T18:28:11.211263Z", |
52 | | - "shell.execute_reply": "2025-05-28T18:28:11.210707Z", |
53 | | - "shell.execute_reply.started": "2025-05-28T18:28:11.207382Z" |
54 | | - } |
55 | | - }, |
| 39 | + "metadata": {}, |
56 | 40 | "source": [ |
57 | 41 | "**LSST data products:** `ForcedSourceOnDiaObject`, `Visit`, `Object`" |
58 | 42 | ] |
|
68 | 52 | { |
69 | 53 | "cell_type": "markdown", |
70 | 54 | "id": "2812d90f-198b-4b08-b6bb-738f340eeb1e", |
71 | | - "metadata": { |
72 | | - "execution": { |
73 | | - "iopub.execute_input": "2025-05-28T18:28:46.339712Z", |
74 | | - "iopub.status.busy": "2025-05-28T18:28:46.339416Z", |
75 | | - "iopub.status.idle": "2025-05-28T18:28:46.343239Z", |
76 | | - "shell.execute_reply": "2025-05-28T18:28:46.342748Z", |
77 | | - "shell.execute_reply.started": "2025-05-28T18:28:46.339692Z" |
78 | | - } |
79 | | - }, |
| 55 | + "metadata": {}, |
80 | 56 | "source": [ |
81 | 57 | "**Credit:** Originally developed by the Rubin Community Science team.\n", |
82 | 58 | "Please consider acknowledging them if this notebook is used for the preparation of journal articles, software releases, or other notebooks." |
|
149 | 125 | { |
150 | 126 | "cell_type": "markdown", |
151 | 127 | "id": "9e9e617e-73bf-4c9a-8af9-27f2c73d7c0c", |
152 | | - "metadata": { |
153 | | - "execution": { |
154 | | - "iopub.execute_input": "2025-06-29T07:52:52.229315Z", |
155 | | - "iopub.status.busy": "2025-06-29T07:52:52.228554Z", |
156 | | - "iopub.status.idle": "2025-06-29T07:52:52.234150Z", |
157 | | - "shell.execute_reply": "2025-06-29T07:52:52.233487Z", |
158 | | - "shell.execute_reply.started": "2025-06-29T07:52:52.229282Z" |
159 | | - } |
160 | | - }, |
| 128 | + "metadata": {}, |
161 | 129 | "source": [ |
162 | 130 | "Related tutorials: The 200-level tutorials on difference image analysis (DIA) catalogs." |
163 | 131 | ] |
|
258 | 226 | { |
259 | 227 | "cell_type": "markdown", |
260 | 228 | "id": "cdb44e53-a5d8-4a37-a125-465de8f7f234", |
261 | | - "metadata": { |
262 | | - "execution": { |
263 | | - "iopub.execute_input": "2025-06-26T03:16:35.269315Z", |
264 | | - "iopub.status.busy": "2025-06-26T03:16:35.268765Z", |
265 | | - "iopub.status.idle": "2025-06-26T03:16:35.274526Z", |
266 | | - "shell.execute_reply": "2025-06-26T03:16:35.273877Z", |
267 | | - "shell.execute_reply.started": "2025-06-26T03:16:35.269285Z" |
268 | | - } |
269 | | - }, |
| 229 | + "metadata": {}, |
270 | 230 | "source": [ |
271 | 231 | "Obtain light curve data from the `ForcedSourceOnDiaObject` table, which contains forced PSF photometry for *all* difference images as well as direct images (`visit_images`). The relevant table columns for plotting light curves are:\n", |
272 | 232 | "\n", |
|
362 | 322 | { |
363 | 323 | "cell_type": "markdown", |
364 | 324 | "id": "71a85470-ec04-4e9f-b045-13987e00a96c", |
365 | | - "metadata": { |
366 | | - "execution": { |
367 | | - "iopub.execute_input": "2025-06-23T22:22:13.571370Z", |
368 | | - "iopub.status.busy": "2025-06-23T22:22:13.570530Z", |
369 | | - "iopub.status.idle": "2025-06-23T22:22:13.576414Z", |
370 | | - "shell.execute_reply": "2025-06-23T22:22:13.575576Z", |
371 | | - "shell.execute_reply.started": "2025-06-23T22:22:13.571340Z" |
372 | | - } |
373 | | - }, |
| 325 | + "metadata": {}, |
374 | 326 | "source": [ |
375 | 327 | "Uncomment to display the table results." |
376 | 328 | ] |
|
443 | 395 | { |
444 | 396 | "cell_type": "markdown", |
445 | 397 | "id": "021826b8-f252-44f3-bc05-57ce376febf2", |
446 | | - "metadata": { |
447 | | - "execution": { |
448 | | - "iopub.execute_input": "2025-06-24T17:31:56.488837Z", |
449 | | - "iopub.status.busy": "2025-06-24T17:31:56.488184Z", |
450 | | - "iopub.status.idle": "2025-06-24T17:31:56.494696Z", |
451 | | - "shell.execute_reply": "2025-06-24T17:31:56.493746Z", |
452 | | - "shell.execute_reply.started": "2025-06-24T17:31:56.488809Z" |
453 | | - } |
454 | | - }, |
| 398 | + "metadata": {}, |
455 | 399 | "source": [ |
456 | 400 | "> **Figure 2:** Forced PSF photometry at the location of a known AGN from the `ForcedSourceOnDiaObject` table. The top panel shows the light curves for the six LSST filters $ugrizy$, using the difference image PSF flux vs. time. The bottom panel shows the light curve using the direct image PSF flux vs. time." |
457 | 401 | ] |
|
483 | 427 | { |
484 | 428 | "cell_type": "markdown", |
485 | 429 | "id": "1d7435cb-d73a-4f43-ac14-0ed0b472c396", |
486 | | - "metadata": { |
487 | | - "execution": { |
488 | | - "iopub.execute_input": "2025-06-27T06:50:28.199609Z", |
489 | | - "iopub.status.busy": "2025-06-27T06:50:28.198981Z", |
490 | | - "iopub.status.idle": "2025-06-27T06:50:28.204947Z", |
491 | | - "shell.execute_reply": "2025-06-27T06:50:28.204083Z", |
492 | | - "shell.execute_reply.started": "2025-06-27T06:50:28.199584Z" |
493 | | - } |
494 | | - }, |
| 430 | + "metadata": {}, |
495 | 431 | "source": [ |
496 | 432 | "Convert the direct image PSF fluxes to magnitudes." |
497 | 433 | ] |
|
541 | 477 | { |
542 | 478 | "cell_type": "markdown", |
543 | 479 | "id": "e59fa795-2ee7-4f2a-a994-859786b2d97f", |
544 | | - "metadata": { |
545 | | - "execution": { |
546 | | - "iopub.execute_input": "2025-06-24T17:38:20.825500Z", |
547 | | - "iopub.status.busy": "2025-06-24T17:38:20.824592Z", |
548 | | - "iopub.status.idle": "2025-06-24T17:38:20.831204Z", |
549 | | - "shell.execute_reply": "2025-06-24T17:38:20.830449Z", |
550 | | - "shell.execute_reply.started": "2025-06-24T17:38:20.825462Z" |
551 | | - } |
552 | | - }, |
| 480 | + "metadata": {}, |
553 | 481 | "source": [ |
554 | 482 | "> **Figure 3:** The light curve is shown as PSF magnitude vs. time, with the PSF flux from direct images converted to magnitudes." |
555 | 483 | ] |
|
578 | 506 | { |
579 | 507 | "cell_type": "markdown", |
580 | 508 | "id": "f3edcfe0-91aa-4882-96cb-6da5934cfb38", |
581 | | - "metadata": { |
582 | | - "execution": { |
583 | | - "iopub.execute_input": "2025-06-29T08:46:47.342459Z", |
584 | | - "iopub.status.busy": "2025-06-29T08:46:47.342081Z", |
585 | | - "iopub.status.idle": "2025-06-29T08:46:47.345809Z", |
586 | | - "shell.execute_reply": "2025-06-29T08:46:47.345194Z", |
587 | | - "shell.execute_reply.started": "2025-06-29T08:46:47.342435Z" |
588 | | - } |
589 | | - }, |
| 509 | + "metadata": {}, |
590 | 510 | "source": [ |
591 | 511 | "### 4.1 Query the `Object` table" |
592 | 512 | ] |
|
620 | 540 | { |
621 | 541 | "cell_type": "markdown", |
622 | 542 | "id": "97c15869-9d3d-4776-935c-0b43c3471086", |
623 | | - "metadata": { |
624 | | - "execution": { |
625 | | - "iopub.execute_input": "2025-06-29T04:33:40.414897Z", |
626 | | - "iopub.status.busy": "2025-06-29T04:33:40.414576Z", |
627 | | - "iopub.status.idle": "2025-06-29T04:33:40.419680Z", |
628 | | - "shell.execute_reply": "2025-06-29T04:33:40.418837Z", |
629 | | - "shell.execute_reply.started": "2025-06-29T04:33:40.414876Z" |
630 | | - } |
631 | | - }, |
| 543 | + "metadata": {}, |
632 | 544 | "source": [ |
633 | 545 | "Run the query and store the results in an Astropy table." |
634 | 546 | ] |
|
727 | 639 | { |
728 | 640 | "cell_type": "markdown", |
729 | 641 | "id": "6091a0aa-5744-4fab-ab72-143fdac27feb", |
730 | | - "metadata": { |
731 | | - "execution": { |
732 | | - "iopub.execute_input": "2025-06-29T03:42:48.866018Z", |
733 | | - "iopub.status.busy": "2025-06-29T03:42:48.865421Z", |
734 | | - "iopub.status.idle": "2025-06-29T03:42:48.870008Z", |
735 | | - "shell.execute_reply": "2025-06-29T03:42:48.869263Z", |
736 | | - "shell.execute_reply.started": "2025-06-29T03:42:48.865991Z" |
737 | | - } |
738 | | - }, |
| 642 | + "metadata": {}, |
739 | 643 | "source": [ |
740 | 644 | "> **Figure 4:** The observed SED for the object at the location of the AGN, which is brightest in the $g$-band. The SED is shown in the observed frame with no corrections for the redshift of the AGN (z = 0.734)." |
741 | 645 | ] |
|
0 commit comments