Files
astronomy/source/kotlin/doc/rotation-hor-ecl.md
Don Cross 281180db24 Use consistent descriptions of EQJ, ECL.
Use consistent wording for these two orientation systems:
EQJ = J2000 mean equator
ECL = J2000 mean ecliptic
2022-12-08 16:16:41 -05:00

791 B

//astronomy/io.github.cosinekitty.astronomy/rotationHorEcl

rotationHorEcl

fun rotationHorEcl(time: Time, observer: Observer): RotationMatrix

Calculates a rotation matrix from horizontal (HOR) to J2000 mean ecliptic (ECL).

This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: HOR = horizontal system. Target: ECL = ecliptic system, using equator at J2000 epoch.

Return

A rotation matrix that converts HOR to ECL.

Parameters

time The date and time of the horizontal observation.
observer The location of the horizontal observer.