Skip to content

Commit

Permalink
Add error fields to catalog schema
Browse files Browse the repository at this point in the history
  • Loading branch information
isullivan committed Sep 12, 2024
1 parent 276639e commit 7e79824
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions 2017_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
"outputs": [],
"source": [
"from lsst.meas.algorithms import SourceDetectionTask\n",
"from lsst.afw.table import SourceTable, SourceCatalog"
"from lsst.afw.table import SourceTable, SourceCatalog, CoordKey"
]
},
{
Expand All @@ -459,7 +459,8 @@
"metadata": {},
"outputs": [],
"source": [
"schema = SourceTable.makeMinimalSchema()"
"schema = SourceTable.makeMinimalSchema()\n",
"CoordKey.addErrorFields(schema)"
]
},
{
Expand Down Expand Up @@ -1342,9 +1343,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "LSST",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "lsst"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1356,7 +1357,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 7e79824

Please sign in to comment.