Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions Basics/Calexp_guided_tour.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
"bbox = afwGeom.Box2I()\n",
"bbox.include(afwGeom.Point2I(2200,3200))\n",
"bbox.include(afwGeom.Point2I(2800,3800))\n",
"cutout = calexp.Factory(calexp, bbox, afwImage.LOCAL)"
"cutout = calexp[bbox]"
]
},
{
Expand Down Expand Up @@ -510,7 +510,7 @@
"metadata": {},
"outputs": [],
"source": [
"cutout_calexp = butler.get('calexp_sub', bbox=bbox, immediate=True, dataId=dataId)\n",
"cutout_calexp = butler.get('calexp_sub', bbox=bbox, dataId=dataId)\n",
"cutout_calexp.getDimensions()"
]
},
Expand Down Expand Up @@ -654,7 +654,16 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The result of the `set` command above shows that a calexp and a coadd have the same methods."
"The result of the `set` command above shows that a calexp and a coadd have the same methods. This is expected, because they are the same class."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(calexp.__class__, coadd.__class__)"
]
},
{
Expand Down