lsst.dax.apdb gfdc9b3dea0+6ba464985b
|
Public Member Functions | |
def | __init__ (self, ApdbCassandraConfig config) |
List[int] | pixels (self, sphgeom.Region region) |
int | pixel (self, sphgeom.UnitVector3d direction) |
Public Attributes | |
pixelator | |
Class that calculates indices of the objects for partitioning. Used internally by `ApdbCassandra` Parameters ---------- config : `ApdbCassandraConfig`
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`
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`