lsst.pipe.tasks gd5638573c2+392ae78cd2
Loading...
Searching...
No Matches
lsst.pipe.tasks.functors.HtmIndex20 Class Reference
Inheritance diagram for lsst.pipe.tasks.functors.HtmIndex20:
lsst.pipe.tasks.functors.Functor

Public Member Functions

 __init__ (self, ra, dec, **kwargs)
Public Member Functions inherited from lsst.pipe.tasks.functors.Functor
 __init__ (self, filt=None, dataset=None, noDup=None)
 noDup (self)
 columns (self)
 multilevelColumns (self, data, columnIndex=None, returnTuple=False)
 __call__ (self, data, dropna=False)
 difference (self, data1, data2, **kwargs)
 fail (self, df)
 name (self)
 shortname (self)

Public Attributes

 pixelator = sphgeom.HtmPixelization(self.htmLevel)
 ra = ra
 dec = dec
Public Attributes inherited from lsst.pipe.tasks.functors.Functor
 filt = filt
str dataset = dataset if dataset is not None else self._defaultDataset
 log = logging.getLogger(type(self).__name__)
 name

Static Public Attributes

int htmLevel = 20

Protected Member Functions

 _func (self, df)
Protected Member Functions inherited from lsst.pipe.tasks.functors.Functor
 _get_data_columnLevels (self, data, columnIndex=None)
 _get_data_columnLevelNames (self, data, columnIndex=None)
 _colsFromDict (self, colDict, columnIndex=None)
 _get_columnIndex (self, data)
 _get_data (self, data)
 _setLevels (self, df)
 _dropna (self, vals)

Protected Attributes

list _columns = [self.ra, self.dec]
Protected Attributes inherited from lsst.pipe.tasks.functors.Functor
 _noDup = noDup

Static Protected Attributes

bool _radians = True
Static Protected Attributes inherited from lsst.pipe.tasks.functors.Functor
str _defaultDataset = 'ref'
tuple _dfLevels = ('column',)
bool _defaultNoDup = False

Detailed Description

Compute the level 20 HtmIndex for the catalog.

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

Member Function Documentation

◆ _func()

lsst.pipe.tasks.functors.HtmIndex20._func ( self,
df )
protected

Reimplemented from lsst.pipe.tasks.functors.Functor.


The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/functors.py