rotator
– Rotation and geometry functions¶
Rotation¶
|
Rotation operator, including astronomical coordinate systems. |
|
Rotate a vector (or a list of vectors) using the rotation matrix given as first argument. |
|
Rotate the vector described by angles theta,phi using the rotation matrix given as first argument. |
Geometrical helpers¶
|
Transform a vector to angle given by theta,phi. |
|
Transform a direction theta,phi to a unit vector. |
|
Returns the angular distance between dir1 and dir2. |