Skip to content

Commit

Permalink
Make LSST the defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
sr525 committed Aug 28, 2023
1 parent 674ce6c commit 0670c06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions python/lsst/analysis/tools/tasks/astrometricCatalogMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
class AstrometricCatalogMatchConfig(CatalogMatchConfig, pipelineConnections=CatalogMatchConnections):
bands = pexConfig.ListField[str](
doc="The bands to persist downstream",
default=["g", "r", "i", "z", "y"],
default=["u", "g", "r", "i", "z", "y"],
)

def setDefaults(self):
super().setDefaults()
self.referenceCatalogLoader.doApplyColorTerms = False
self.referenceCatalogLoader.refObjLoader.requireProperMotion = False
self.referenceCatalogLoader.refObjLoader.requireProperMotion = True
self.referenceCatalogLoader.refObjLoader.anyFilterMapsToThis = "phot_g_mean"


Expand Down
2 changes: 1 addition & 1 deletion python/lsst/analysis/tools/tasks/catalogMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class CatalogMatchConfig(pipeBase.PipelineTaskConfig, pipelineConnections=Catalo

filterNames = pexConfig.ListField[str](
doc="Physical filter names to persist downstream.",
default=["HSC-G", "HSC-R", "HSC-I", "HSC-Z", "HSC-Y"],
default=["u", "g", "r", "i", "z", "y"],
)

selectorBands = pexConfig.ListField[str](
Expand Down
4 changes: 0 additions & 4 deletions python/lsst/analysis/tools/tasks/photometricCatalogMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ class PhotometricCatalogMatchConnections(CatalogMatchConnections):
class PhotometricCatalogMatchConfig(
CatalogMatchConfig, pipelineConnections=PhotometricCatalogMatchConnections
):
filterNames = pexConfig.ListField[str](
doc="Physical filter names to persist downstream.",
default=["HSC-G", "HSC-R2", "HSC-I2", "HSC-Z", "HSC-Y"],
)

def setDefaults(self):
super().setDefaults()
Expand Down

0 comments on commit 0670c06

Please sign in to comment.