Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 600 Bytes

rotation-eqj-gal.md

File metadata and controls

13 lines (7 loc) · 600 Bytes

//astronomy/io.github.cosinekitty.astronomy/rotationEqjGal

rotationEqjGal

fun rotationEqjGal(): RotationMatrix

Calculates a rotation matrix from galactic (GAL) to J2000 mean equator (EQJ).

This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: GAL = galactic system (IAU 1958 definition). Target: EQJ = equatorial system, using the equator at the J2000 epoch.

Return

A rotation matrix that converts GAL to EQJ.