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

DM-45845: Update star catalog parameter names #285

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,12 @@ class AssociatedSourcesTractAnalysisConfig(
astrometricCorrectionParameters = pexConfig.DictField(
keytype=str,
itemtype=str,
# TODO: DM-45845 Update default names when catalog gets updated.
default={
"ra": "starX",
"dec": "starY",
"pmRA": "starPMx",
"pmDec": "starPMy",
"parallax": "starParallax",
"ra": "ra",
"dec": "dec",
"pmRA": "pm_ra",
"pmDec": "pm_dec",
"parallax": "parallax",
},
doc="Column names for position and motion parameters in the astrometric correction catalogs.",
)
Expand Down
11 changes: 5 additions & 6 deletions python/lsst/analysis/tools/tasks/sourceObjectTableAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,12 @@ class SourceObjectTableAnalysisConfig(
astrometricCorrectionParameters = pexConfig.DictField(
keytype=str,
itemtype=str,
# TODO: DM-45845 Change default names.
default={
"ra": "starX",
"dec": "starY",
"pmRA": "starPMx",
"pmDec": "starPMy",
"parallax": "starParallax",
"ra": "ra",
"dec": "dec",
"pmRA": "pm_ra",
"pmDec": "pm_dec",
"parallax": "parallax",
},
doc="Column names for position and motion parameters in the astrometric correction catalogs.",
)
Expand Down
Loading