Calculates a rotation matrix from J2000 mean ecliptic (ECL) to horizontal (HOR).
Value
A rotation matrix that converts ECL to HOR. The components of the horizontal vector are: x = north, y = west, z = zenith (straight up from the observer).
Details
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.
Source: ECL = ecliptic system, using equator at J2000 epoch.
Target: HOR = horizontal system (x = north, y = west, z = zenith).
Examples
astro_rotation_ECL_HOR(Sys.time(), latitude = -35.28, longitude = 149.12, height = 0)
#> [,1] [,2] [,3]
#> [1,] -0.2961615 0.8563564 -0.4230155
#> [2,] 0.7788380 0.4728927 0.4120483
#> [3,] 0.5529011 -0.2074277 -0.8070155