|
LSSTApplications
1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
|
Classes | |
| class | Dodecahedron |
Functions | |
| def | computeRotationMatrix |
| def | _computeCoordTransform |
| def | _computeDodecahedronVertices |
| def | _computeFullVecList |
| def | _findCloseIndexSet |
| def | _findCloseList |
| def | _findClosePair |
| def | _sortedVectorList |
Variables | |
| tuple | vertexDodec = Dodecahedron(withFacesOnPoles=False) |
| tuple | faceVec = vertexDodec.getFaceCtr(i) |
|
private |
Compute a rotation matrix that puts vec0 along z and vec1 along +x in the xz plane Inputs: - vec0: vector 0 - vec1: vector 1 - vec1NegativeX: if True then vec1 is rotated to face negative x
Definition at line 106 of file dodecahedron.py.
|
private |
Given a vector of face positions of a Dodecahedron compute the vertices
Definition at line 134 of file dodecahedron.py.
|
private |
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 161 of file dodecahedron.py.
|
private |
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 Inputs: - vecList: list of cartesian vectors - ind: index of vector to be nearest
Definition at line 182 of file dodecahedron.py.
|
private |
Given a list of cartesian vectors, return all those closest to a specified position This is intended for regular grids where distances are quantized Inputs: - vecList: list of cartesian vectors - vec: vector to be near @return two items: - list of closest vectors - list if indices of those vectors
Definition at line 197 of file dodecahedron.py.
|
private |
Given a list of cartesian vectors and an index, return the vector and one of its closest neighbors Inputs: - vecList: list of cartesian vectors - ind: index of first vector
Definition at line 216 of file dodecahedron.py.
|
private |
Return a list of cartesian vectors sorted by decreasing latitude and increasing longitude
Definition at line 228 of file dodecahedron.py.
| def lsst.skymap.detail.dodecahedron.computeRotationMatrix | ( | angle, | |
| axis | |||
| ) |
Return a 3D rotation matrix for rotation by a specified amount around a specified axis Inputs: - angle: amount of rotation (rad) - axis: axis of rotation; one of 0, 1 or 2 for x, y or z
Definition at line 89 of file dodecahedron.py.
| tuple lsst.skymap.detail.dodecahedron.faceVec = vertexDodec.getFaceCtr(i) |
Definition at line 249 of file dodecahedron.py.
| tuple lsst.skymap.detail.dodecahedron.vertexDodec = Dodecahedron(withFacesOnPoles=False) |
Definition at line 247 of file dodecahedron.py.
1.8.5