|
67 | 67 | "* [Data Management Technical Note - 266: Astrometric Calibration in the LSST\n", |
68 | 68 | "Pipeline](https://dmtn-266.lsst.io/DMTN-266.pdf)\n", |
69 | 69 | "* [PSTN-019: The LSST Science Pipelines Software: Optical Survey Pipeline Reduction and Analysis Environment](https://pstn-019.lsst.io/)\n", |
| 70 | + "* [RTN-095: The Vera C. Rubin Observatory Data Preview 1](https://rtn-095.lsst.io/)\n", |
70 | 71 | "* [AST: A library for modeling and manipulating coordinate systems](https://ui.adsabs.harvard.edu/abs/2016A%26C....15...33B/abstract)\n", |
71 | 72 | "\n", |
72 | | - "**Related tutorials:** The Monster reference catalog is covered in another tutorial in this series." |
| 73 | + "**Related tutorials:** The Monster reference catalog is covered in another tutorial in this series (200)." |
73 | 74 | ] |
74 | 75 | }, |
75 | 76 | { |
|
264 | 265 | "wcs = visit_image.getWcs()" |
265 | 266 | ] |
266 | 267 | }, |
267 | | - { |
268 | | - "cell_type": "markdown", |
269 | | - "id": "c5ae6005-3ec5-4d5b-83cf-b728a5885392", |
270 | | - "metadata": {}, |
271 | | - "source": [ |
272 | | - "Get the pixel origin, in pixels. " |
273 | | - ] |
274 | | - }, |
275 | | - { |
276 | | - "cell_type": "code", |
277 | | - "execution_count": null, |
278 | | - "id": "4fd499a8-d71a-4f6d-9083-f266ee5aeb58", |
279 | | - "metadata": {}, |
280 | | - "outputs": [], |
281 | | - "source": [ |
282 | | - "pixel_origin = wcs.getPixelOrigin()" |
283 | | - ] |
284 | | - }, |
285 | | - { |
286 | | - "cell_type": "code", |
287 | | - "execution_count": null, |
288 | | - "id": "0a8c5a4c-2662-41b4-8e45-512eea89e929", |
289 | | - "metadata": {}, |
290 | | - "outputs": [], |
291 | | - "source": [ |
292 | | - "print(pixel_origin)" |
293 | | - ] |
294 | | - }, |
295 | | - { |
296 | | - "cell_type": "markdown", |
297 | | - "id": "2050eae7-7a18-4a46-9ebb-d2f118482a28", |
298 | | - "metadata": {}, |
299 | | - "source": [ |
300 | | - "Get the sky origin, in degrees. It will be the same for all detectors of a given visit." |
301 | | - ] |
302 | | - }, |
303 | | - { |
304 | | - "cell_type": "code", |
305 | | - "execution_count": null, |
306 | | - "id": "7e1b052b-5082-475a-a251-76f12a4ea4c5", |
307 | | - "metadata": {}, |
308 | | - "outputs": [], |
309 | | - "source": [ |
310 | | - "wcs.getSkyOrigin()" |
311 | | - ] |
312 | | - }, |
313 | 268 | { |
314 | 269 | "cell_type": "markdown", |
315 | 270 | "id": "cd991686-0b61-4a8a-bf69-9a6b6dddc6dd", |
316 | 271 | "metadata": {}, |
317 | 272 | "source": [ |
318 | | - "### 2.1. Pixel scale\n", |
| 273 | + "### 2.1. Pixel scale at a particular point.\n", |
319 | 274 | "\n", |
320 | | - "Get the pixel scale, in arcseconds per pixel. With no argument, `wcs.getPixelScale()` gives the pixel scale at the sky origin, which is the center of the focal plane, and is the same for all detectors." |
321 | | - ] |
322 | | - }, |
323 | | - { |
324 | | - "cell_type": "code", |
325 | | - "execution_count": null, |
326 | | - "id": "fecddbf9-5543-488a-b384-24a6d30d5e3b", |
327 | | - "metadata": {}, |
328 | | - "outputs": [], |
329 | | - "source": [ |
330 | | - "wcs.getPixelScale().asArcseconds()" |
| 275 | + "Use the bounding box (`bbox`) information for the `visit_image` to get the pixel scale, in arcseconds, at the center of the detector.\n", |
| 276 | + "The pixel scale can be calculated at different points, and it may differ across the focal plane." |
331 | 277 | ] |
332 | 278 | }, |
333 | 279 | { |
334 | 280 | "cell_type": "markdown", |
335 | | - "id": "30b3da16-23ef-4dff-b498-ca28737a44b4", |
| 281 | + "id": "d51b0fe1-3801-4a89-9a4b-f09dcddd6bc3", |
336 | 282 | "metadata": {}, |
337 | 283 | "source": [ |
338 | | - "The pixel scale can be calulated at different points, and it may differ across the focal plane." |
339 | | - ] |
340 | | - }, |
341 | | - { |
342 | | - "cell_type": "markdown", |
343 | | - "id": "fb8ea629-3350-4b2e-a210-0f3929fe33fa", |
344 | | - "metadata": {}, |
345 | | - "source": [ |
346 | | - "Get the pixel scale, in arcseconds, at the pixel origin." |
347 | | - ] |
348 | | - }, |
349 | | - { |
350 | | - "cell_type": "code", |
351 | | - "execution_count": null, |
352 | | - "id": "c3e70c74-2e86-4b08-82c6-5104672046b1", |
353 | | - "metadata": {}, |
354 | | - "outputs": [], |
355 | | - "source": [ |
356 | | - "wcs.getPixelScale(lsst.geom.Point2D(pixel_origin)).asArcseconds()" |
357 | | - ] |
358 | | - }, |
359 | | - { |
360 | | - "cell_type": "markdown", |
361 | | - "id": "d07a01dc-aab6-4583-ba12-5e4c15313bc0", |
362 | | - "metadata": {}, |
363 | | - "source": [ |
364 | | - "Use the bounding box (`bbox`) information for the `visit_image` to get the pixel scale, in arcseconds, at the center of the detector." |
| 284 | + "> **Warning**: Avoid calling `wcs.getPixelScale()` without an argument; the implicit reference point may not suit your use case." |
365 | 285 | ] |
366 | 286 | }, |
367 | 287 | { |
|
409 | 329 | "outputs": [], |
410 | 330 | "source": [ |
411 | 331 | "del query, bind, visitimage_refs\n", |
412 | | - "del visit_image, wcs, pixel_origin, bbox" |
| 332 | + "del visit_image, wcs, bbox" |
413 | 333 | ] |
414 | 334 | }, |
415 | 335 | { |
|
777 | 697 | "\n", |
778 | 698 | "For **external consistency**, the median separation between sources *not* included in the astrometric fit and their associated counterparts in **Gaia DR3** is within **5 milliarcseconds**—well below the main survey’s design requirement of 50 milliarcseconds. Remaining residuals are due to distortions not yet included in the LSSTComCam astrometric model (but planned for future inclusion), such as **atmospheric**, **camera**, and **detector-level distortions**. \n", |
779 | 699 | "\n", |
780 | | - "For more details, see Section 5.3 on Astrometry in the DP1 paper." |
| 700 | + "For more details, see Section 5.3 on Astrometry in the [DP1 paper](https://rtn-095.lsst.io/)." |
781 | 701 | ] |
782 | | - }, |
783 | | - { |
784 | | - "cell_type": "code", |
785 | | - "execution_count": null, |
786 | | - "id": "5d804a96-d993-4bec-808c-be066c03f157", |
787 | | - "metadata": {}, |
788 | | - "outputs": [], |
789 | | - "source": [] |
790 | 702 | } |
791 | 703 | ], |
792 | 704 | "metadata": { |
|
0 commit comments