|
10 | 10 | "id": "ab80c8e2-f477-40df-ba82-d1cbbe2b5892", |
11 | 11 | "metadata": {}, |
12 | 12 | "source": [ |
13 | | - "# 303.3. Color Selections\n", |
| 13 | + "# 303.3. Color selections\n", |
14 | 14 | "\n", |
15 | 15 | "<div style=\"max-width:300px; float: left; margin-right: 1em\">\n", |
16 | 16 | "\n", |
|
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: 2026-06-08 <br>\n", |
| 25 | + "Last verified to run: 2026-06-12 <br>\n", |
26 | 26 | "Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>" |
27 | 27 | ] |
28 | 28 | }, |
|
161 | 161 | "id": "e9c07b17-bc81-42e2-991c-0ab3a7d30eb8", |
162 | 162 | "metadata": {}, |
163 | 163 | "source": [ |
164 | | - "Define a query to retrieve galaxies from the object table using the `extendedness`=1 flag. Search around the center of the field using a 0.2 degree search radius to ensure the candidates are identified within the deepest area of g-band imaging. To further ensure good detections, include the $S/N > 10$ cut on the $i$-band." |
| 164 | + "Define a query to retrieve galaxies from the object table using the `extendedness`=1 flag. Search around the center of the field using a 0.5 degree search radius to cover the full field. To ensure good detections, include the $S/N > 10$ cut on the $i$-band." |
165 | 165 | ] |
166 | 166 | }, |
167 | 167 | { |
|
317 | 317 | "\n", |
318 | 318 | "#### 2.2.1. Fetch spec-z catalog\n", |
319 | 319 | "\n", |
320 | | - "Use the `astroquery` package's `VizieR` service to retrieve the public catalog. Information on the catalog and its contents can be found in [Garilli et al. 2021](https://ui.adsabs.harvard.edu/abs/2021A%26A...647A.150G/abstract). The [catalog ID to search in `VizieR`](https://ui.adsabs.harvard.edu/abs/2022yCat..36470150G/abstract)</a> can be found on adsabs.harvard.edu in connection to the data release paper. Pull the table of data obtained in the ECDFS as `vandels_cdfs`" |
| 320 | + "Use the `astroquery` package's `VizieR` service to retrieve the public catalog. Information on the catalog and its contents can be found in [Garilli et al. 2021](https://ui.adsabs.harvard.edu/abs/2021A%26A...647A.150G/abstract). The [catalog ID to search in `VizieR`](https://ui.adsabs.harvard.edu/abs/2022yCat..36470150G/abstract)</a> can be found on adsabs.harvard.edu in connection to the data release paper. VANDELS took data in two extragalactic deep fields. Pull the table of data obtained in the ECDFS as `vandels_cdfs`, which is the first table in the return (index 0)." |
321 | 321 | ] |
322 | 322 | }, |
323 | 323 | { |
|
327 | 327 | "metadata": {}, |
328 | 328 | "outputs": [], |
329 | 329 | "source": [ |
330 | | - "v = Vizier(columns=['**'], catalog=\"J/A+A/647/A150\")\n", |
331 | | - "v.ROW_LIMIT = -1\n", |
332 | | - "all_tables = v.get_catalogs(\"J/A+A/647/A150\")\n", |
| 330 | + "vandels_survey = Vizier(columns=['**'], catalog=\"J/A+A/647/A150\")\n", |
| 331 | + "vandels_survey.ROW_LIMIT = -1\n", |
| 332 | + "all_tables = vandels_survey.get_catalogs(\"J/A+A/647/A150\")\n", |
333 | 333 | "vandels_cdfs = all_tables[0]" |
334 | 334 | ] |
335 | 335 | }, |
|
360 | 360 | "id": "fe011d0d-4077-402c-be5d-176d23c33439", |
361 | 361 | "metadata": {}, |
362 | 362 | "source": [ |
363 | | - "#### 2.2.3. Cross-match\n", |
| 363 | + "#### 2.2.2. Cross-match\n", |
364 | 364 | "\n", |
365 | 365 | "Perform the LBG selection on the Rubin data, then match to objects with the same coordinates in the VANDELS catalog to see what true high redshift galaxies passed the LBG selection and which failed." |
366 | 366 | ] |
|
576 | 576 | "id": "b2849d83-8780-4a28-8b31-2f52e5365aa0", |
577 | 577 | "metadata": {}, |
578 | 578 | "source": [ |
579 | | - "> Figure 2: Like Figure 2, except that confirmed galaxies are color coded by g-band flux uncertainty as a proxy for variations in the depth or integration time in the g-band filter imaging. Their unsuccessful selection does not show any trend with image depth (which might be expected if galaxies in shallower imaging have smaller lower limits to the g-r color)." |
| 579 | + "> Figure 2: Like Figure 1, except that confirmed galaxies are color coded by g-band flux uncertainty as a proxy for variations in the depth or integration time in the g-band filter imaging. Their unsuccessful selection does not show any trend with image depth (which might be expected if galaxies in shallower imaging have smaller lower limits to the g-r color)." |
580 | 580 | ] |
581 | 581 | }, |
582 | 582 | { |
|
641 | 641 | "id": "4e702cae-4406-424f-abec-ec2375cfe0b6", |
642 | 642 | "metadata": {}, |
643 | 643 | "source": [ |
644 | | - "> Figure 3: A color-color diagram showing g - r vs r - i colors for all Rubin galaxies (gray). The Lyman-break color selection window is shown in black dashed lines. Blue points indicate Rubin galaxies that meet the color criteria for being at high-redshift. Stars and pluses indicate Rubin galaxies that are spectroscopically confirmed by VANDELS to lie at z > 3.5 but do and do not meet the color selection (respectively). Confirmed galaxies are color coded by spectroscopic redshift, and their successful selection does not show any trend with redshift." |
| 644 | + "> Figure 3: Like Figure 1, except that confirmed galaxies are color coded by spectroscopic redshift, and their successful selection does not show any trend with redshift." |
645 | 645 | ] |
646 | 646 | }, |
647 | 647 | { |
|
651 | 651 | "source": [ |
652 | 652 | "#### 2.3.4 Interpretation\n", |
653 | 653 | "\n", |
654 | | - "The color selection identifies a large number of true high-redshift galaxies. A number of confirmed galaxies fall outside the selection window. While the color selection is not designed to be 100% inclusive of high redshift galaxies, it should select a relatively pure sample with few interlopers. Galaxies my reside outside the selection box do not seem to trend with any single property tested in Section 2.3.1-2.3.3, but may be caused by a combination of photometric scatter, variation in depth of the g-band imaging, and that the strength of the g-r color will vary across the redshift selection window. Other effects also contribute: dust attenuation in the galaxy will redden the restframe UV probed by the r-i color and similarly decreasing the brightness of the observed r band flux (thus making the g-r color less robustly constrained). A possible effect from DP1 could also be the known issue of a small fraction of [red-wavelength photon leak in the g-band](https://dp1.lsst.io/products/known_issues_and_subtleties.html#g-band-red-leak-excess-long-wavelength-transmission) which might contaminate the dropout filter with redder-wavelength light from the galaxy. This effect is exacerbated by the higher operating temperature of LSSTComCam during commissioning and is expected to be resolved in DP2 LSSTCam data.\n", |
| 654 | + "The color selection identifies a large number of true high-redshift galaxies. A number of confirmed galaxies fall outside the selection window. While the color selection is not designed to be 100% inclusive of high redshift galaxies, it should select a relatively pure sample with few interlopers. Galaxies may reside outside the selection box do not seem to trend with any single property tested in Section 2.3.1-2.3.3, but may be caused by a combination of photometric scatter, variation in depth of the g-band imaging, and that the strength of the g-r color will vary across the redshift selection window. Other effects also contribute: dust attenuation in the galaxy will redden the restframe UV probed by the r-i color and similarly decreasing the brightness of the observed r band flux (thus making the g-r color less robustly constrained). A possible effect from DP1 could also be the known issue of a small fraction of [red-wavelength photon leak in the g-band](https://dp1.lsst.io/products/known_issues_and_subtleties.html#g-band-red-leak-excess-long-wavelength-transmission) which might contaminate the dropout filter with redder-wavelength light from the galaxy. This effect is exacerbated by the higher operating temperature of LSSTComCam during commissioning and is expected to be resolved in DP2 LSSTCam data.\n", |
655 | 655 | "\n", |
656 | 656 | "This exemplifies how photometric selection is statistical in nature. While the physics of the Lyman break creates the strong spectral feature that can be exploited for a simple selection, the photometric noise and intrinsic galaxy variations will scatter the galaxy colors in and out of the selection box.\n" |
657 | 657 | ] |
|
716 | 716 | " g_r = r_data['g_minus_r'][row_idx]\n", |
717 | 717 | " r_i = r_data['r_minus_i'][row_idx]\n", |
718 | 718 | "\n", |
719 | | - " query = f\"\"\"\n", |
| 719 | + " cutout_query = f\"\"\"\n", |
720 | 720 | " SELECT lsst_band, access_url\n", |
721 | 721 | " FROM ivoa.ObsCore\n", |
722 | 722 | " WHERE dataproduct_subtype = 'lsst.deep_coadd'\n", |
723 | 723 | " AND obs_collection = 'LSST.DP1'\n", |
724 | 724 | " AND CONTAINS(POINT('ICRS', {ra}, {dec}), s_region) = 1\n", |
725 | 725 | " \"\"\"\n", |
726 | | - " \n", |
727 | | - " coadds = tap_service.search(query).to_table()\n", |
728 | | - " \n", |
| 726 | + "\n", |
| 727 | + " job = tap_service.submit_job(cutout_query)\n", |
| 728 | + " job.run()\n", |
| 729 | + " job.wait()\n", |
| 730 | + " coadds = job.fetch_result().to_table()\n", |
| 731 | + "\n", |
729 | 732 | " for col_idx, f in enumerate(filters):\n", |
730 | 733 | " ax = axes[row_idx][col_idx]\n", |
731 | 734 | " band_match = coadds[coadds['lsst_band'] == f]\n", |
|
774 | 777 | "id": "e855ba72-793a-47d1-8871-1ca6faac0246", |
775 | 778 | "metadata": {}, |
776 | 779 | "source": [ |
777 | | - "Now plot the 4-filter cutouts for the real high redshift galaxies confirmed by VANDELS that were identified correctly in the Rubin color selection. " |
| 780 | + "Now plot the 4-filter cutouts for a few (5) real high redshift galaxies confirmed by VANDELS that were identified correctly in the Rubin color selection. " |
778 | 781 | ] |
779 | 782 | }, |
780 | 783 | { |
|
904 | 907 | "metadata": {}, |
905 | 908 | "outputs": [], |
906 | 909 | "source": [ |
907 | | - "failed_lbg_indices = np.where(matched_v_all['zsp'][is_selected_lbg] < 3.2)[0]\n", |
908 | | - "failed_spec_z = matched_v_all['zsp'][failed_lbg_indices]\n", |
| 910 | + "failed_spec_z = selected_spec_z[selected_spec_z < 3.2]\n", |
909 | 911 | "\n", |
910 | 912 | "print(\"Among the VANDELS spectroscopic sample:\")\n", |
911 | 913 | "print(f\"{len(selected_spec_z)} out of {len(matched_v_all['zsp'])} are color selected\")\n", |
|
0 commit comments