lsst.dax.apdb 22.0.1-6-gdd19981+53ffec75fc
Public Member Functions | Public Attributes | List of all members
lsst.dax.apdb.apdbCassandra.Partitioner Class Reference

Public Member Functions

def __init__ (self, ApdbCassandraConfig config)
 
List[int] pixels (self, sphgeom.Region region)
 
int pixel (self, sphgeom.UnitVector3d direction)
 

Public Attributes

 pixelator
 

Detailed Description

Class that calculates indices of the objects for partitioning.

Used internally by `ApdbCassandra`

Parameters
----------
config : `ApdbCassandraConfig`

Member Function Documentation

◆ pixel()

int lsst.dax.apdb.apdbCassandra.Partitioner.pixel (   self,
sphgeom.UnitVector3d  direction 
)
Compute the index of the pixel for given direction.

Parameters
----------
direction : `lsst.sphgeom.UnitVector3d`

◆ pixels()

List[int] lsst.dax.apdb.apdbCassandra.Partitioner.pixels (   self,
sphgeom.Region  region 
)
Compute set of the pixel indices for given region.

Parameters
----------
region : `lsst.sphgeom.Region`

The documentation for this class was generated from the following file: