Calculates a rotation matrix from J2000 mean equator (EQJ) to horizontal (HOR).
Value
A rotation matrix that converts EQJ to HOR. The components represent: x = north, y = west, z = zenith (straight up from observer).
Details
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.
Source: EQJ = equatorial system, using the equator at J2000 epoch.
Target: HOR = horizontal system (x=North, y=West, z=Zenith).
Examples
astro_rotation_EQJ_HOR(Sys.time(), latitude = -35.28, longitude = 149.12, height = 0)
#> [,1] [,2] [,3]
#> [1,] 0.4407885 0.650431115 0.6185829
#> [2,] 0.3757019 -0.759563486 0.5309533
#> [3,] 0.8152016 -0.001635371 -0.5791751