LSSTApplications
12.1-5-gbdcc3ab,15.0+10,15.0+19,15.0-1-g19261fa+10,15.0-1-g60afb23+19,15.0-1-g615e0bb+11,15.0-1-g6668b0b+6,15.0-1-g788a293+19,15.0-1-ga91101e+19,15.0-1-gae1598d+9,15.0-1-gd076f1f+17,15.0-1-gdf18595+3,15.0-1-gf4f1c34+9,15.0-10-g113cadf7+2,15.0-11-g5674e3b,15.0-2-g100d730+12,15.0-2-g20c4630+8,15.0-2-g35685a8+15,15.0-2-g5dfaa72+8,15.0-2-gf38729e+14,15.0-24-g02ed2a30c+2,15.0-3-g11fe1a0+3,15.0-3-g130a88a+2,15.0-3-g707930d+1,15.0-3-g9103c06+9,15.0-3-ga03b4ca+26,15.0-3-gaec6799+6,15.0-4-g32c2b40+2,15.0-4-g535e784+3,15.0-4-g654b129+17,15.0-5-g23e394c+7,15.0-5-g54bfcd9+2,15.0-5-gb31927c,15.0-6-g4418537+2,15.0-7-g0c26201,15.0-7-g6bb3a066+2,15.0-9-g5661f8f+4,w.2018.18
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, numStripes, numSubStripesPerStripe) |
def | getSubStripe (self, phi) |
def | getStripe (self, phi) |
def | getSubChunk (self, subStripe, theta) |
def | getChunk (self, stripe, theta) |
def | getChunkBoundingBox (self, chunkId) |
def | getSubChunkBoundingBox (self, chunkId, subChunkId) |
def | getChunkId (self, stripe, chunk) |
def | getSubChunkId (self, subStripe, subChunk) |
def | intersect (self, args) |
def | __iter__ (self) |
def | __eq__ (self, other) |
def | __repr__ (self) |
Public Attributes | |
numStripes | |
numSSPerStripe | |
numSubStripes | |
stripeHeight | |
subStripeHeight | |
numChunks | |
numSCPerChunk | |
subChunkWidth | |
maxSCPerChunk | |
A simple partitioning scheme that breaks the unit sphere into fixed height latitude angle stripes. These are in turn broken up into fixed width longitude angle chunks (each stripe has a variable number of chunks to account for distortion at the poles). Chunks are in turn broken up into fixed height sub-stripes, and each sub-stripe is then divided into fixed width sub-chunks. Again, the number of sub-chunks per sub-stripe is variable to account for polar distortion.
Definition at line 2040 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__init__ | ( | self, | |
numStripes, | |||
numSubStripesPerStripe | |||
) |
Definition at line 2050 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__eq__ | ( | self, | |
other | |||
) |
Definition at line 2429 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__iter__ | ( | self | ) |
Returns an iterator over (chunkId, SubIterator) tuples - one for each chunk in the partition map. Each SubIterator is an iterator over subChunkIds for the corresponding chunk.
Definition at line 2420 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__repr__ | ( | self | ) |
Definition at line 2435 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getChunk | ( | self, | |
stripe, | |||
theta | |||
) |
Returns the chunk number of the chunk containing all points in the given stripe with the given longitude angle.
Definition at line 2106 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getChunkBoundingBox | ( | self, | |
chunkId | |||
) |
Returns a SphericalBox bounding the given chunk. Note that this is a bounding box only - not an exact representation! In particular, for a point p and a chunk C with bounding box B, B.contains(p) == True does not imply that p is assigned to C. However, for all points p assigned to C, B.contains(p) is True.
Definition at line 2144 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getChunkId | ( | self, | |
stripe, | |||
chunk | |||
) |
Returns the chunk ID of the chunk with the given stripe/chunk numbers.
Definition at line 2195 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getStripe | ( | self, | |
phi | |||
) |
Returns the stripe number of the stripe containing all points with the given latitude angle.
Definition at line 2087 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getSubChunk | ( | self, | |
subStripe, | |||
theta | |||
) |
Returns the sub-chunk number of the sub-chunk containing all points in the given sub-stripe with the given longitude angle.
Definition at line 2094 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getSubChunkBoundingBox | ( | self, | |
chunkId, | |||
subChunkId | |||
) |
Returns a SphericalBox bounding the given sub-chunk. Note that this is a bounding box only - not an exact representation! In particular, for a point p and a sub-chunk SC with bounding box B, B.contains(p) == True does not imply that p is assigned to SC. However, for all points p assigned to SC, B.contains(p) is True.
Definition at line 2180 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getSubChunkId | ( | self, | |
subStripe, | |||
subChunk | |||
) |
Returns the sub-chunk ID of the sub-chunk with the given sub-stripe/sub-chunk numbers.
Definition at line 2201 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.getSubStripe | ( | self, | |
phi | |||
) |
Returns the sub-stripe number of the sub-stripe containing points with the given latitude angle.
Definition at line 2077 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.intersect | ( | self, | |
args | |||
) |
Computes the intersection of a spherical box partitioning of the unit sphere and one or more SphericalRegions. Results are returned as an iterator over (chunkId, SubIterator) tuples. These correspond to all chunks overlapping at least one input region, and contain sub-iterators over all sub-chunks intersecting at least one input region. The sub-iterators return (subChunkId, Regions) tuples, where Regions is a set of the regions that intersect with (but do not completely contain) a particular sub-chunk. Note that Regions can be an empty set - this means that the sub-chunk is completely contained in at least one of the input regions.
Definition at line 2277 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.maxSCPerChunk |
Definition at line 2075 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numChunks |
Definition at line 2065 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSCPerChunk |
Definition at line 2067 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSSPerStripe |
Definition at line 2059 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numStripes |
Definition at line 2058 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSubStripes |
Definition at line 2060 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.stripeHeight |
Definition at line 2063 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.subChunkWidth |
Definition at line 2068 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.subStripeHeight |
Definition at line 2064 of file geometry.py.