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

esheldon fork Tickets/dm 40513 #24

Draft
wants to merge 19 commits into
base: tickets/DM-40513
Choose a base branch
from
Draft
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions python/lsst/drp/tasks/metadetection_shear.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ class MetadetectionShearConfig(

# TODO: expose more configuration options here.

def setDefaults(self):
super().setDefaults()
# This is a DC2/cal_ref_cat_2_2 specific hack. This should be ideally specified in a config file
# To be removed in the cleanup before merging to main
self.ref_loader.filterMap = {band: f"lsst_{band}_smeared" for band in self.required_bands}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually not a hack as the comment above says. What I meant is that the mapping here is specific to the reference catalog loaded.


class MetadetectionShearTask(PipelineTask):
"""A PipelineTask that measures shear using metadetection."""
Expand Down