Skip to main content

Module rotation

Module rotation 

Source
Expand description

Coordinate rotations for astronomy.

Internally: ACTIVE rotations (rotate vectors). Externally: PASSIVE semantics (re-express same direction).

Structs§

Rotation
ViewTransform

Enums§

CoordSystem
Astronomical coordinate systems

Constants§

DEG2RAD
ECL_TO_EQ
Ecliptic → Equatorial (ACTIVE, healpy / astropy)
ECL_TO_GAL
Ecliptic → Galactic (ACTIVE, healpy / astropy)
EQ_TO_ECL
Equatorial → Ecliptic (ACTIVE inverse)
EQ_TO_GAL
Equatorial → Galactic (ACTIVE inverse)
EXPECTED_ECL_LAT_OF_NGP
GAL_TO_ECL
Galactic → Ecliptic (ACTIVE inverse)
GAL_TO_EQ
Galactic → Equatorial (ACTIVE, IAU 1958 / J2000)
RAD2DEG

Functions§

coord_rotation
sph_to_vec
vec_to_sph
view_rotation

Type Aliases§

Mat3