Skip to content

Commit fddd6d7

Browse files
authored
Merge pull request #132 from lsst/u/jcarlin/309_2_fixup
Fix PS1 search radius in NB 309_2
2 parents ea1e811 + ba70f33 commit fddd6d7

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

DP1/300_Science_Demos/309_Astronomical_analysis/309_2_convert_between_photometric_systems.ipynb

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@
131131
"id": "b75d077d-75eb-4634-8c16-e98c4645c8b8",
132132
"metadata": {},
133133
"source": [
134-
"Define the approximate central coordinates of the ECDFS field and a radius of 0.25 degrees about this center.\n",
134+
"Define the approximate central coordinates of the ECDFS field and a radius of 0.24 degrees about this center.\n",
135135
"\n",
136-
"_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._"
136+
"_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._"
137137
]
138138
},
139139
{
@@ -145,7 +145,7 @@
145145
"source": [
146146
"ra_cen = 53.2\n",
147147
"dec_cen = -28.1\n",
148-
"radius = 0.25"
148+
"radius = 0.24"
149149
]
150150
},
151151
{
@@ -382,7 +382,7 @@
382382
"id": "a965e6e7-c8d4-4ba3-a8b0-e0f1150431a3",
383383
"metadata": {},
384384
"source": [
385-
"> **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."
385+
"> **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."
386386
]
387387
},
388388
{
@@ -492,7 +492,7 @@
492492
"source": [
493493
"#### 3.3.1 Grab ECDFS data from PanSTARRS1 DR2\n",
494494
"\n",
495-
"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."
495+
"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."
496496
]
497497
},
498498
{
@@ -525,12 +525,12 @@
525525
" soa.primaryDetection, soa.bestDetection\n",
526526
" FROM dbo.MeanObjectView o\n",
527527
" LEFT JOIN StackObjectAttributes AS soa ON soa.objID = o.objID\n",
528-
" WHERE CONTAINS(POINT('ICRS', RAMean, DecMean),CIRCLE('ICRS',%f,%f,0.25))=1\n",
528+
" WHERE CONTAINS(POINT('ICRS', RAMean, DecMean),CIRCLE('ICRS',%f,%f,%f))=1\n",
529529
" AND o.nDetections > 5\n",
530530
" AND soa.primaryDetection>0\n",
531531
" AND o.gQfPerfect>0.85 and o.rQfPerfect>0.85 and o.iQfPerfect>0.85 and o.zQfPerfect>0.85\n",
532532
" AND (o.rmeanpsfmag - o.rmeankronmag < 0.05)\n",
533-
" \"\"\" % (ra_cen, dec_cen)\n",
533+
" \"\"\" % (ra_cen, dec_cen, radius)\n",
534534
"\n",
535535
"result = ps1dr2_tap.run_sync(query)\n",
536536
"df_ps1 = result.to_table().to_pandas()\n",
@@ -1609,6 +1609,14 @@
16091609
"source": [
16101610
"> **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."
16111611
]
1612+
},
1613+
{
1614+
"cell_type": "code",
1615+
"execution_count": null,
1616+
"id": "0db669c8-3460-43b6-a172-09723eee01a3",
1617+
"metadata": {},
1618+
"outputs": [],
1619+
"source": []
16121620
}
16131621
],
16141622
"metadata": {

0 commit comments

Comments
 (0)