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-32046: Add note to HtmIndex20 functor #584

Merged
merged 1 commit into from
Oct 12, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion python/lsst/pipe/tasks/drpDiaCalculationPipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class DrpDiaCalculationPipeConfig(

def setDefaults(self):
self.diaCalculation.plugins = ["ap_meanPosition",
"ap_HTMIndex",
"ap_diaObjectFlag",
"ap_meanFlux",
"ap_percentileFlux",
Expand Down
7 changes: 7 additions & 0 deletions python/lsst/pipe/tasks/functors.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,13 @@ def __call__(self, catalog, **kwargs):

class HtmIndex20(Functor):
"""Compute the level 20 HtmIndex for the catalog.

Notes
-----
This functor was implemented to satisfy requirements of old APDB interface
which required ``pixelId`` column in DiaObject with HTM20 index. APDB
interface had migrated to not need that information, but we keep this
class in case it may be useful for something else.
"""
name = "Htm20"
htmLevel = 20
Expand Down