Skip to content

Commit 3ee61f1

Browse files
committed
updated files
1 parent f89109e commit 3ee61f1

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

DP1/300_Science_Demos/301_Field_explorations/301_4_Extended_Chandra_Deep_Field_South.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"\n",
7272
"Import `numpy`, a fundamental package for scientific computing with arrays in Python (<a href=\"https://numpy.org\">numpy.org</a>), and `matplotlib`, a comprehensive library for data visualization (<a href=\"https://matplotlib.org/\">matplotlib.org</a>; <a href=\"https://matplotlib.org/stable/gallery/index.html\">matplotlib gallery</a>), including custom shapes (`Polygon`) and lines (`mlines`). `itertools` supports efficient iteration and combinatorics.\n",
7373
"\n",
74-
"From the `lsst` package, import modules for accessing the Table Access Protocol (TAP) service, for retrieving datasets from the butler, and for image displaying from the LSST Science Pipelines (<a href=\"https://pipelines.lsst.io/\">pipelines.lsst.io</a>). Additional modules support spherical geometry (`sphgeom`), and standardized multiband plotting (`lsst.utils.plotting`) for LSST data analysis and visualization."
74+
"From the `lsst` package, import modules for accessing the Table Access Protocol (TAP) service, for retrieving datasets from the butler, and for image displaying from the LSST Science Pipelines (<a href=\"https://pipelines.lsst.io/\">pipelines.lsst.io</a>). Additional modules support spherical geometry (`sphgeom`), 2D geometry (`geom`), and standardized multiband plotting (`lsst.utils.plotting`) for LSST data analysis and visualization."
7575
]
7676
},
7777
{
@@ -91,6 +91,7 @@
9191
"from lsst.daf.butler import Butler\n",
9292
"import lsst.afw.display as afw_display\n",
9393
"import lsst.sphgeom as sphgeom\n",
94+
"import lsst.geom as geom\n",
9495
"\n",
9596
"from lsst.utils.plotting import (get_multiband_plot_colors,\n",
9697
" get_multiband_plot_symbols,\n",

DP1/300_Science_Demos/301_Field_explorations/301_5_Euclid_Deep_Field_South.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@
482482
" \"FROM dp1.CoaddPatches \" \\\n",
483483
" \"WHERE CONTAINS(POINT('ICRS', s_ra, s_dec), \" \\\n",
484484
" \"CIRCLE('ICRS', {}, {}, {})) = 1 \".format(ra_cen, dec_cen, radius)\n",
485-
"job = service.submit_job(query)\n",
485+
"job = rsp_tap.submit_job(query)\n",
486486
"job.run()\n",
487487
"job.wait(phases=['COMPLETED', 'ERROR'])\n",
488488
"print('Job phase is', job.phase)\n",
@@ -529,6 +529,8 @@
529529
"mesh = ax.pcolormesh(x, y, values_rmaglim, cmap='Greys_r', shading='auto')\n",
530530
"fig.colorbar(mesh, ax=ax, label=\"r-band limiting magnitude (mag)\")\n",
531531
"\n",
532+
"tracts = set(coadd_patches['lsst_tract'])\n",
533+
"\n",
532534
"for tract in tracts:\n",
533535
" s_regions = coadd_patches[coadd_patches['lsst_tract'] == tract]['s_region']\n",
534536
"\n",

DP1/300_Science_Demos/301_Field_explorations/301_6_Low_Galactic_Latitude_Field.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@
503503
"mesh = ax.pcolormesh(x, y, values_rmaglim, cmap='Greys_r', shading='auto')\n",
504504
"fig.colorbar(mesh, ax=ax, label=\"r-band limiting magnitude (mag)\")\n",
505505
"\n",
506+
"tracts = set(coadd_patches['lsst_tract'])\n",
507+
"\n",
506508
"for tract in tracts:\n",
507509
" s_regions = coadd_patches[coadd_patches['lsst_tract'] == tract]['s_region']\n",
508510
"\n",

DP1/300_Science_Demos/301_Field_explorations/301_7_Seagull_Nebula.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@
488488
" vmin=23.5, shading='auto')\n",
489489
"fig.colorbar(mesh, ax=ax, label=\"r-band limiting magnitude (mag)\")\n",
490490
"\n",
491+
"tracts = set(coadd_patches['lsst_tract'])\n",
492+
"\n",
491493
"for tract in tracts:\n",
492494
" s_regions = coadd_patches[coadd_patches['lsst_tract'] == tract]['s_region']\n",
493495
"\n",

0 commit comments

Comments
 (0)