|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
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