|
102 | 102 | "from lsst.afw.image import ExposureF, LOCAL, PARENT\n", |
103 | 103 | "import lsst.afw.display as afw_display\n", |
104 | 104 | "\n", |
105 | | - "from astropy.visualization import ZScaleInterval" |
| 105 | + "from astropy.visualization import ZScaleInterval\n" |
106 | 106 | ] |
107 | 107 | }, |
108 | 108 | { |
|
493 | 493 | "metadata": {}, |
494 | 494 | "outputs": [], |
495 | 495 | "source": [ |
496 | | - "full_exposure = butler.get('deep_coadd', dataId=dataId)" |
| 496 | + "full_exposure = butler.get('deep_coadd', dataId=dataId)\n" |
497 | 497 | ] |
498 | 498 | }, |
499 | 499 | { |
|
678 | 678 | "metadata": {}, |
679 | 679 | "outputs": [], |
680 | 680 | "source": [ |
681 | | - "fig, axes = plt.subplots(nrows=nrows, ncols=ncols,\n", |
682 | | - " figsize=(16, 4 * nrows))\n", |
| 681 | + "fig, axes = plt.subplots(nrows=nrows, ncols=ncols, figsize=(16, 4 * nrows))\n", |
683 | 682 | "axes = axes.flatten()\n", |
684 | 683 | "\n", |
685 | 684 | "deferred_handles = []\n", |
686 | 685 | "for target in targets:\n", |
687 | 686 | "\n", |
688 | | - " point = geom.SpherePoint(target['ra'], target['dec'],\n", |
689 | | - " geom.degrees)\n", |
| 687 | + " point = geom.SpherePoint(target['ra'], target['dec'], geom.degrees)\n", |
690 | 688 | "\n", |
691 | 689 | " tract_info = skymap.findTract(point)\n", |
692 | 690 | " patch_info = tract_info.findPatch(point)\n", |
|
702 | 700 | "\n", |
703 | 701 | "for idx, (target, handle) in enumerate(deferred_handles):\n", |
704 | 702 | "\n", |
705 | | - " radec = geom.SpherePoint(target['ra'], target['dec'],\n", |
706 | | - " geom.degrees)\n", |
| 703 | + " radec = geom.SpherePoint(target['ra'], target['dec'], geom.degrees)\n", |
707 | 704 | " xy = Point2D(wcs.skyToPixel(radec))\n", |
708 | 705 | "\n", |
709 | | - " selection_bbox = Box2I.makeCenteredBox(xy, Extent2I(subset_size,\n", |
710 | | - " subset_size))\n", |
| 706 | + " selection_bbox = Box2I.makeCenteredBox(xy, Extent2I(subset_size, subset_size))\n", |
711 | 707 | " params = {'bbox': selection_bbox}\n", |
712 | 708 | "\n", |
713 | 709 | " subset = handle.get(parameters=params)\n", |
|
0 commit comments