|
22 | 22 | "The goals of this notebook are to:<br>\n", |
23 | 23 | "1. create an instance of the Butler<br>\n", |
24 | 24 | "2. explore the DP0.1 data repository<br>\n", |
25 | | - "3. retrive and display some image and catalog data<br>\n", |
26 | | - "4. create in image cutout at a user-specified coordinate<br>\n", |
| 25 | + "3. retrieve and display some image and catalog data<br>\n", |
| 26 | + "4. create an image cutout at a user-specified coordinate<br>\n", |
27 | 27 | "5. retrieve and plot catalog data \n", |
28 | 28 | "\n", |
29 | 29 | "\n", |
|
151 | 151 | "* `refcats` - refers to the reference catalogs used for astrometric and photometric calibration\n", |
152 | 152 | "* `skymaps` - are the geometric representations of the sky coverage\n", |
153 | 153 | "\n", |
154 | | - "Collections can be nested, so we can access to everything for DC2 Run 2.2i (the primary DP0.1 data set) by selecting the collection `2.2i/runs/DP0.1`. This is a pointer to other collections that expand out recursively... More on collections can be found here: https://pipelines.lsst.io/v/weekly/modules/lsst.daf.butler/organizing.html#collections" |
| 154 | + "Collections can be nested, so we can access everything for DC2 Run 2.2i (the primary DP0.1 data set) by selecting the collection `2.2i/runs/DP0.1`. This is a pointer to other collections that expand out recursively... More on collections can be found here: https://pipelines.lsst.io/v/weekly/modules/lsst.daf.butler/organizing.html#collections" |
155 | 155 | ] |
156 | 156 | }, |
157 | 157 | { |
|
208 | 208 | "source": [ |
209 | 209 | "Again, this list may seem a bit overwhelming, but we can extract some information from the names of the dataset types:\n", |
210 | 210 | "\n", |
211 | | - "- `calexp` - Refers to individual calibrated exposure\n", |
212 | | - "- `deepCoadd` - Refers to products produced on the coadd images (both images and and source catalogs)\n", |
213 | | - "- `src` - refers the the catalog of sources\n", |
| 211 | + "- `calexp` - refers to individual calibrated exposure\n", |
| 212 | + "- `deepCoadd` - refers to products produced on the coadd images (both images and and source catalogs)\n", |
| 213 | + "- `src` - refers to the catalog of sources\n", |
214 | 214 | "- `skyMap` - refers to geometric representations of the sky coverage\n", |
215 | 215 | "\n", |
216 | 216 | "<b> Which data sets are most appropriate for DP0.1? </b><br>\n", |
|
226 | 226 | "cell_type": "markdown", |
227 | 227 | "metadata": {}, |
228 | 228 | "source": [ |
229 | | - "We access specific data sets through a set of specifications known as a data identifier (`dataId`). Each `DatasetType` can be identified with a different set of properties, so it is important to be able to determine what properties need to be specified to access data of a specific type. It is possible to get all `DatasetRef` (which include the `dataId`) for a specific `datasetType` in a specific collection with a query like this. Note that this doesn't necessarily guarentee that the specific data set exists, so we include a check that the data set has a valid Uniform Resource Identifier (URI)." |
| 229 | + "We access specific data sets through a set of specifications known as a data identifier (`dataId`). Each `DatasetType` can be identified with a different set of properties, so it is important to be able to determine what properties need to be specified to access data of a specific type. It is possible to get all `DatasetRef` (which include the `dataId`) for a specific `datasetType` in a specific collection with a query like this. Note that this doesn't necessarily guarantee that the specific data set exists, so we include a check that the data set has a valid Uniform Resource Identifier (URI)." |
230 | 230 | ] |
231 | 231 | }, |
232 | 232 | { |
|
344 | 344 | "cell_type": "markdown", |
345 | 345 | "metadata": {}, |
346 | 346 | "source": [ |
347 | | - "The `calexp` is a calibrated CCD from a single exposure. We'll use the afwDisplay interface to show the pixel values and mask plane (more on afwDisplay can be found in other notebooks)." |
| 347 | + "The `calexp` is a calibrated CCD image from a single exposure. We'll use the afwDisplay interface to show the pixel values and mask plane (more on afwDisplay can be found in other notebooks)." |
348 | 348 | ] |
349 | 349 | }, |
350 | 350 | { |
|
364 | 364 | "cell_type": "markdown", |
365 | 365 | "metadata": {}, |
366 | 366 | "source": [ |
367 | | - "Now that we have a calibrated image, we may want to get the catlog of sources that were extracted from it. The `src` catalog associated with this `calexp` we pass the `dataId` to the butler with the `src` datasetType. Note that this performs another query to the registry database to find the `src` catalog that matches our dataId requirements." |
| 367 | + "Now that we have a calibrated image, we may want to get the catalog of sources that were extracted from it. To get the `src` catalog associated with this `calexp` we pass the `dataId` to the butler with the `src` datasetType. Note that this performs another query to the registry database to find the `src` catalog that matches our dataId requirements." |
368 | 368 | ] |
369 | 369 | }, |
370 | 370 | { |
|
658 | 658 | "metadata": {}, |
659 | 659 | "source": [ |
660 | 660 | "<br>\n", |
661 | | - "The catalogs are very large and it is not feasible to try and retrieve it in its entirety.\n", |
| 661 | + "The catalogs are very large and it is not feasible to try and retrieve them in their entirety.\n", |
662 | 662 | "Instead, in this example we identify the tract and patch of interest and retrieve only catalog data for a small region of sky.\n", |
663 | | - "Use the same ra and dec coordinates as above to find the patch and tract." |
| 663 | + "We use the same ra and dec coordinates as above to find the patch and tract." |
664 | 664 | ] |
665 | 665 | }, |
666 | 666 | { |
|
763 | 763 | "plt.ylabel('Dec')\n", |
764 | 764 | "plt.title('Butler coadd_forced_src objects in tract 4638 patch 43')" |
765 | 765 | ] |
| 766 | + }, |
| 767 | + { |
| 768 | + "cell_type": "code", |
| 769 | + "execution_count": null, |
| 770 | + "metadata": {}, |
| 771 | + "outputs": [], |
| 772 | + "source": [] |
766 | 773 | } |
767 | 774 | ], |
768 | 775 | "metadata": { |
|
0 commit comments