LSST Applications g04a91732dc+a3f7a6a005,g07dc498a13+5ab4d22ec3,g0fba68d861+870ee37b31,g1409bbee79+5ab4d22ec3,g1a7e361dbc+5ab4d22ec3,g1fd858c14a+11200c7927,g20f46db602+25d63fd678,g35bb328faa+fcb1d3bbc8,g4d2262a081+cc8af5cafb,g4d39ba7253+6b9d64fe03,g4e0f332c67+5d362be553,g53246c7159+fcb1d3bbc8,g60b5630c4e+6b9d64fe03,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g8048e755c2+a1301e4c20,g8852436030+a750987b4a,g89139ef638+5ab4d22ec3,g89e1512fd8+a86d53a4aa,g8d6b6b353c+6b9d64fe03,g9125e01d80+fcb1d3bbc8,g989de1cb63+5ab4d22ec3,g9f33ca652e+38ca901d1a,ga9baa6287d+6b9d64fe03,gaaedd4e678+5ab4d22ec3,gabe3b4be73+1e0a283bba,gb1101e3267+aa269f591c,gb58c049af0+f03b321e39,gb90eeb9370+af74afe682,gc741bbaa4f+7f5db660ea,gcf25f946ba+a750987b4a,gd315a588df+b78635c672,gd6cbbdb0b4+c8606af20c,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+5839af1903,ge278dab8ac+932305ba37,ge82c20c137+76d20ab76d,w.2025.11
LSST Data Management Base Package
|
Classes | |
class | Dodecahedron |
Functions | |
computeRotationMatrix (angle, axis) | |
_computeCoordTransform (vec0, vec1, vec1NegativeX=False) | |
_computeDodecahedronVertices (faceVecList) | |
_computeFullVecList (basisSet) | |
_findCloseIndexSet (vecList, ind) | |
_findCloseList (vecList, vec) | |
_findClosePair (vecList, ind=0) | |
_sortedVectorList (vecList) | |
Variables | |
precision | |
suppress | |
True | |
linewidth | |
vertexDodec = Dodecahedron(withFacesOnPoles=False) | |
faceVec = vertexDodec.getFaceCtr(i) | |
|
protected |
Compute a rotation matrix that puts vec0 along z and vec1 along +x in the xz plane. Parameters ---------- vec0 : `numpy.ndarray` vector 0 vec1 : `numpy.ndarray` vector 1 vec1NegativeX : `bool` If True then vec1 is rotated to face negative x.
Definition at line 138 of file dodecahedron.py.
|
protected |
Given a vector of face positions of a Dodecahedron compute the vertices.
Definition at line 172 of file dodecahedron.py.
|
protected |
Given a collection of basis vectors, compute all permutations with both signs of all nonzero values. For example:: [(0, 1, 2)] -> [(0, 1, 2), (0, -1, 2), (0, 1, -2), (0, -1, -2)]
Definition at line 201 of file dodecahedron.py.
|
protected |
Given a list of cartesian vectors, return a set of indices of those closest to one of them. This is intended for regular grids where distances are quantized. Parameters ---------- vecList : `list` List of cartesian vectors. ind : `int` Index of vector to be nearest.
Definition at line 226 of file dodecahedron.py.
|
protected |
Given a list of cartesian vectors, return all those closest to a specified position This is intended for regular grids where distances are quantized Parameters ---------- vecList : `list` List of cartesian vectors. vec : `iterable` of `float` Vector to be near. Returns ------- retList : `list` List of closest vectors. indList : `list` List if indices of those vectors.
Definition at line 246 of file dodecahedron.py.
|
protected |
Given a list of cartesian vectors and an index, return the vector and one of its closest neighbors. Parameters ---------- vecList : `list` of `numpy.ndarray` List of cartesian vectors. ind : `int` Index of first vector.
Definition at line 273 of file dodecahedron.py.
|
protected |
Return a list of cartesian vectors sorted by decreasing latitude and increasing longitude.
Definition at line 290 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.computeRotationMatrix | ( | angle, | |
axis ) |
Return a 3D rotation matrix for rotation by a specified amount around a specified axis. Parameters ---------- angle : `float` Amount of rotation (rad). axis : `int` Axis of rotation; one of 0, 1 or 2 for x, y or z.
Definition at line 116 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.faceVec = vertexDodec.getFaceCtr(i) |
Definition at line 311 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.linewidth |
Definition at line 306 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.precision |
Definition at line 306 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.suppress |
Definition at line 306 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.True |
Definition at line 306 of file dodecahedron.py.
lsst.skymap.detail.dodecahedron.vertexDodec = Dodecahedron(withFacesOnPoles=False) |
Definition at line 309 of file dodecahedron.py.