|
21 | 21 | "Data Release: <a href=\"https://dp1.lsst.io/\">Data Preview 1</a> <br>\n", |
22 | 22 | "Container Size: large <br>\n", |
23 | 23 | "LSST Science Pipelines version: Release r29.2.0 <br>\n", |
24 | | - "Last verified to run: 2025-09-05 <br>\n", |
| 24 | + "Last verified to run: 2025-11-13 <br>\n", |
25 | 25 | "Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>" |
26 | 26 | ] |
27 | 27 | }, |
|
37 | 37 | "**Packages:** `lsst.daf.butler`, `lsst.rsp`, `lsst.afw.display`, `lsst.geom`.\n", |
38 | 38 | "\n", |
39 | 39 | "**Credit:**\n", |
40 | | - "Developed by Shenming Fu and the Rubin Community Science team., inspired by Céline Combet's and Prakruth Adari's Notebooks for [ComCam Clusters](https://github.com/lsst-sitcom/comcam_clusters). See also Tech Notes [C. Combet et al.,](https://sitcomtn-161.lsst.io/) and [P. Adari et al.](https://sitcomtn-163.lsst.io/) \n", |
| 40 | + "Developed by Shenming Fu and the Rubin Community Science team. Inspired by Céline Combet's and Prakruth Adari's Notebooks for [ComCam Clusters](https://github.com/lsst-sitcom/comcam_clusters). See also Tech Notes [C. Combet et al.,](https://sitcomtn-161.lsst.io/) and [P. Adari et al.](https://sitcomtn-163.lsst.io/) \n", |
41 | 41 | "Part of this notebook will be used for a journal article about a Rubin view of A360 (led by Anja von der Linden).\n", |
42 | 42 | "Please consider acknowledging them if this notebook is used for the preparation of journal articles, software releases, or other notebooks.\n", |
43 | 43 | "\n", |
|
224 | 224 | "\n", |
225 | 225 | "Use the TAP service to make a cone search of the Object catalog for objects detected in the `deep_coadd` images within 0.4 degrees of the BCG.\n", |
226 | 226 | "\n", |
227 | | - "Define the query to return shape parameters in the selected band, photometry in the *riz* bands, and other useful columns." |
| 227 | + "Define the query to return shape parameters in the selected band, photometry in the *riz* bands, and other useful columns. Compute the signal-to-noise ratio (SNR) in the query since it is not included in the schema (otherwise, to save time, it is not recommended to do computation in the query)." |
228 | 228 | ] |
229 | 229 | }, |
230 | 230 | { |
|
341 | 341 | "metadata": {}, |
342 | 342 | "outputs": [], |
343 | 343 | "source": [ |
344 | | - "afw_display.mtv(deep_coadd)\n", |
| 344 | + "afw_display.image(deep_coadd)\n", |
345 | 345 | "afw_display.setMaskTransparency(100)" |
346 | 346 | ] |
347 | 347 | }, |
|
392 | 392 | "This is the extendedness in the reference band. The extendness is either 0 or 1, and it is based on the difference between the PSF magnitude and the Composite-Model (CModel) magnitude ([Abazajian et al. 2004](https://ui.adsabs.harvard.edu/abs/2004AJ....128..502A/abstract), [Bosch et al. 2018](https://ui.adsabs.harvard.edu/abs/2018PASJ...70S...5B/abstract)). \n", |
393 | 393 | "\n", |
394 | 394 | "Use the *riz* CModel photometry [(Bosch et al. 2018)](https://ui.adsabs.harvard.edu/abs/2018PASJ...70S...5B/abstract),\n", |
395 | | - "which is appropriate for measurements of galaxies (extended objects), and retain only objects with signal-to-noise ratio SNR>5 to select well-detected objects. Select the objects that do not have flag parameters `*_cModel_flag` set to 1, to ensure the quality." |
| 395 | + "which is appropriate for measurements of galaxies (extended objects), and retain only objects with SNR>5 to select well-detected objects. Select the objects that do not have flag parameters `*_cModel_flag` set to 1, to ensure the quality." |
396 | 396 | ] |
397 | 397 | }, |
398 | 398 | { |
|
410 | 410 | " sel &= obj_cat[f\"{band}_cModel_SNR\"] > 5.\n", |
411 | 411 | "obj_cat = obj_cat[sel]\n", |
412 | 412 | "\n", |
413 | | - "assert len(obj_cat) == 21975\n", |
414 | 413 | "print('Number of objects is', len(obj_cat))" |
415 | 414 | ] |
416 | 415 | }, |
|
497 | 496 | " ax[i].axhline(color - rs_half_width, ls=\"--\", color=\"grey\", alpha=1)\n", |
498 | 497 | " ax[i].axhline(color + rs_half_width, ls=\"--\", color=\"grey\", alpha=1)\n", |
499 | 498 | "\n", |
500 | | - " sel_bg &= np.abs(obj_cat[f\"{band1}_cModelMag\"]\n", |
501 | | - " - obj_cat[f\"{band2}_cModelMag\"]) > (color + rs_half_width)\n", |
| 499 | + " sel_bg &= (obj_cat[f\"{band1}_cModelMag\"]\n", |
| 500 | + " - obj_cat[f\"{band2}_cModelMag\"]) > (color + rs_half_width)\n", |
502 | 501 | " sel_rs &= np.abs((obj_cat[f\"{band1}_cModelMag\"]\n", |
503 | 502 | " - obj_cat[f\"{band2}_cModelMag\"]) - color) < rs_half_width\n", |
504 | 503 | "\n", |
|
0 commit comments