|
LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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