|
19 | 19 | "Data Release: <a href=\"https://dp1.lsst.io/\">Data Preview 1</a> <br>\n", |
20 | 20 | "Container Size: large <br>\n", |
21 | 21 | "LSST Science Pipelines version: Release r29.1.1 <br>\n", |
22 | | - "Last verified to run: 2025-06-20 <br>\n", |
| 22 | + "Last verified to run: 2025-08-28 <br>\n", |
23 | 23 | "Repository: <a href=\"https://github.com/lsst/tutorial-notebooks\">github.com/lsst/tutorial-notebooks</a> <br>" |
24 | 24 | ] |
25 | 25 | }, |
|
83 | 83 | "outputs": [], |
84 | 84 | "source": [ |
85 | 85 | "import numpy as np\n", |
| 86 | + "import astropy.units as u\n", |
86 | 87 | "from lsst.daf.butler import Butler\n", |
87 | 88 | "from lsst.pipe.tasks.measurementDriver import (\n", |
88 | 89 | " ForcedMeasurementDriverConfig,\n", |
|
222 | 223 | "table" |
223 | 224 | ] |
224 | 225 | }, |
| 226 | + { |
| 227 | + "cell_type": "markdown", |
| 228 | + "id": "25a36031-e614-4cf0-a2fd-9197196150cb", |
| 229 | + "metadata": {}, |
| 230 | + "source": [ |
| 231 | + "The forced measurement driver requires the input coordinates to have units attached. Attach units to the RA, Dec columns." |
| 232 | + ] |
| 233 | + }, |
| 234 | + { |
| 235 | + "cell_type": "code", |
| 236 | + "execution_count": null, |
| 237 | + "id": "76cd8d9f-d354-4c3c-a042-5707fc25e1e7", |
| 238 | + "metadata": {}, |
| 239 | + "outputs": [], |
| 240 | + "source": [ |
| 241 | + "table['coord_ra'].unit = u.degree\n", |
| 242 | + "table['coord_dec'].unit = u.degree" |
| 243 | + ] |
| 244 | + }, |
225 | 245 | { |
226 | 246 | "cell_type": "markdown", |
227 | 247 | "id": "0abd209b-d6b2-4ec5-95d5-7171bb1465fc", |
|
331 | 351 | "\n", |
332 | 352 | "This functionality is limited to a handful of measurement plugins (for example, model-fitting algorithms will not work with this task because they require more ancillary information than it is set up to receive). Nonetheless, it offers a quick and easy way to extract measurements at arbitrary positions." |
333 | 353 | ] |
334 | | - }, |
335 | | - { |
336 | | - "cell_type": "code", |
337 | | - "execution_count": null, |
338 | | - "id": "b1f77da3-481b-4cf3-9466-eefff1a43bbf", |
339 | | - "metadata": {}, |
340 | | - "outputs": [], |
341 | | - "source": [] |
342 | 354 | } |
343 | 355 | ], |
344 | 356 | "metadata": { |
|
0 commit comments