Calculates a rotation matrix from horizontal (HOR) to equatorial of-date (EQD).
Details
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.
Source: HOR = horizontal system (x = north, y = west, z = zenith).
Target: EQD = equatorial system, using equator of the specified date/time.
Examples
astro_rotation_HOR_EQD(Sys.time(), latitude = -35.28, longitude = 149.12, height = 0)
#> [,1] [,2] [,3]
#> [1,] -0.3012082 0.4928122 0.8163393
#> [2,] 0.8532470 0.5215069 0.0000000
#> [3,] -0.4257266 0.6965391 -0.5775727