Skip to content

Commit

Permalink
Update star catalog parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsaunders committed Sep 17, 2024
1 parent 6903dfe commit 5796f5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
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

0 comments on commit 5796f5f

Please sign in to comment.