LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
def | getSubStripe |
def | getStripe |
def | getSubChunk |
def | getChunk |
def | getChunkBoundingBox |
def | getSubChunkBoundingBox |
def | getChunkId |
def | getSubChunkId |
def | intersect |
def | __iter__ |
def | __eq__ |
def | __repr__ |
Public Attributes | |
numStripes | |
numSSPerStripe | |
numSubStripes | |
stripeHeight | |
subStripeHeight | |
numChunks | |
numSCPerChunk | |
subChunkWidth | |
maxSCPerChunk | |
Private Member Functions | |
def | _getChunkBoundingBox |
def | _getSubChunkBoundingBox |
def | _allSubChunks |
def | _processChunk |
def | _processStripe |
def | _processSubChunk |
def | _processSubStripe |
def | _subIntersect |
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 1988 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__init__ | ( | self, | |
numStripes, | |||
numSubStripesPerStripe | |||
) |
Definition at line 1997 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__eq__ | ( | self, | |
other | |||
) |
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 2365 of file geometry.py.
def lsst.geom.geometry.SphericalBoxPartitionMap.__repr__ | ( | self | ) |
Definition at line 2380 of file geometry.py.
|
private |
Definition at line 2156 of file geometry.py.
|
private |
Definition at line 2062 of file geometry.py.
|
private |
Definition at line 2102 of file geometry.py.
|
private |
Definition at line 2167 of file geometry.py.
|
private |
Definition at line 2189 of file geometry.py.
|
private |
Definition at line 2280 of file geometry.py.
|
private |
Definition at line 2304 of file geometry.py.
|
private |
Returns an iterator over (subChunkId, Regions) tuples, where Regions is a set of all regions that intersect with (but do not completely contain) a particular sub-chunk.
Definition at line 2338 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 2053 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 2091 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 2142 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 2034 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 2041 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 2127 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 2148 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 2024 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 2222 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.maxSCPerChunk |
Definition at line 2022 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numChunks |
Definition at line 2012 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSCPerChunk |
Definition at line 2014 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSSPerStripe |
Definition at line 2006 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numStripes |
Definition at line 2005 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.numSubStripes |
Definition at line 2007 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.stripeHeight |
Definition at line 2010 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.subChunkWidth |
Definition at line 2015 of file geometry.py.
lsst.geom.geometry.SphericalBoxPartitionMap.subStripeHeight |
Definition at line 2011 of file geometry.py.