From ba70f33df90bf3ff87a9026ea7b60bc7eadd1cee Mon Sep 17 00:00:00 2001 From: jeffcarlin Date: Thu, 26 Mar 2026 18:47:18 +0000 Subject: [PATCH] Fix PS1 search radius in NB 309_2 --- ..._convert_between_photometric_systems.ipynb | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/DP1/300_Science_Demos/309_Astronomical_analysis/309_2_convert_between_photometric_systems.ipynb b/DP1/300_Science_Demos/309_Astronomical_analysis/309_2_convert_between_photometric_systems.ipynb index 573958b..5b5215f 100644 --- a/DP1/300_Science_Demos/309_Astronomical_analysis/309_2_convert_between_photometric_systems.ipynb +++ b/DP1/300_Science_Demos/309_Astronomical_analysis/309_2_convert_between_photometric_systems.ipynb @@ -131,9 +131,9 @@ "id": "b75d077d-75eb-4634-8c16-e98c4645c8b8", "metadata": {}, "source": [ - "Define the approximate central coordinates of the ECDFS field and a radius of 0.25 degrees about this center.\n", + "Define the approximate central coordinates of the ECDFS field and a radius of 0.24 degrees about this center.\n", "\n", - "_Note: The radius is restricted to 0.25 degrees here, since the public PanSTARRS1 DR2 TAP service -- which is used later in this notebook -- is currently restricted to cone searches of no larger than 0.25 degrees._" + "_Note: The radius is restricted to 0.24 degrees here, since the public PanSTARRS1 DR2 TAP service -- which is used later in this notebook -- is currently restricted to cone searches less than 0.25 degrees._" ] }, { @@ -145,7 +145,7 @@ "source": [ "ra_cen = 53.2\n", "dec_cen = -28.1\n", - "radius = 0.25" + "radius = 0.24" ] }, { @@ -382,7 +382,7 @@ "id": "a965e6e7-c8d4-4ba3-a8b0-e0f1150431a3", "metadata": {}, "source": [ - "> **Figure 1:** ($r$-$i$) vs. ($g$-$r$) color-color diagram for point sources in a 0.25-degree radius of the ECDFS field in DP1 data. Points are calculated from `Object` table PSF magnitudes, and are color-coded by their $r$-band PSF magnitude error, ranging from 0 to 0.02 magnitudes. The figure shows the typical stellar locus as a narrow sequence with a sharp upturn at red colors." + "> **Figure 1:** ($r$-$i$) vs. ($g$-$r$) color-color diagram for point sources in a 0.24-degree radius of the ECDFS field in DP1 data. Points are calculated from `Object` table PSF magnitudes, and are color-coded by their $r$-band PSF magnitude error, ranging from 0 to 0.02 magnitudes. The figure shows the typical stellar locus as a narrow sequence with a sharp upturn at red colors." ] }, { @@ -492,7 +492,7 @@ "source": [ "#### 3.3.1 Grab ECDFS data from PanSTARRS1 DR2\n", "\n", - "Use `pyvo` to query the PanSTARRS1 DR2 TAP service, using suitable constraints for point sources. Since the PanSTARRS1 DR2 TAP service has a cone search maximum search radius of 0.25 deg, keep the search to that fixed radius." + "Use `pyvo` to query the PanSTARRS1 DR2 TAP service, using suitable constraints for point sources. Since the PanSTARRS1 DR2 TAP service has a cone search maximum search radius of 0.25 deg, keep the search to less than that fixed radius." ] }, { @@ -525,12 +525,12 @@ " soa.primaryDetection, soa.bestDetection\n", " FROM dbo.MeanObjectView o\n", " LEFT JOIN StackObjectAttributes AS soa ON soa.objID = o.objID\n", - " WHERE CONTAINS(POINT('ICRS', RAMean, DecMean),CIRCLE('ICRS',%f,%f,0.25))=1\n", + " WHERE CONTAINS(POINT('ICRS', RAMean, DecMean),CIRCLE('ICRS',%f,%f,%f))=1\n", " AND o.nDetections > 5\n", " AND soa.primaryDetection>0\n", " AND o.gQfPerfect>0.85 and o.rQfPerfect>0.85 and o.iQfPerfect>0.85 and o.zQfPerfect>0.85\n", " AND (o.rmeanpsfmag - o.rmeankronmag < 0.05)\n", - " \"\"\" % (ra_cen, dec_cen)\n", + " \"\"\" % (ra_cen, dec_cen, radius)\n", "\n", "result = ps1dr2_tap.run_sync(query)\n", "df_ps1 = result.to_table().to_pandas()\n", @@ -1609,6 +1609,14 @@ "source": [ "> **Figure 13:** Magnitude differences between LSSTComCam $g$-band and Gaia DR3 $BP$-band photometry for matched stars plotted as a function of $(g-i)$ color. Orange points show the difference between DP1 $g$ magnitudes and Gaia $BP$ magnitudes before applying the transformation, demonstrating a large offset in $\\Delta$mag that increases toward redder $(g-i)$ colors. Blue stars are the results after applying the polynomial transformation. Pink open squares show the residuals after transforming using the lookup table, demonstrating smaller residuals than the polynomial results." ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "0db669c8-3460-43b6-a172-09723eee01a3", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": {