Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error fields to catalog schema #86

Open
wants to merge 1 commit into
base: prod
Choose a base branch
from
Open
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
12 changes: 7 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 @@ -744,6 +745,7 @@
"outputs": [],
"source": [
"schema = SourceTable.makeMinimalSchema()\n",
"CoordKey.addErrorFields(schema)\n",
"bkgTask = SubtractBackgroundTask()\n",
"repairTask = RepairTask()\n",
"detectTask = SourceDetectionTask(schema=schema)\n",
Expand Down Expand Up @@ -1342,9 +1344,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 +1358,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down