Skip to contents

Calculates a rotation matrix from J2000 mean ecliptic (ECL) to equatorial of-date (EQD).

Usage

astro_rotation_ECL_EQD(time)

Arguments

time

A POSIXct object representing the date and time.

Value

A rotation matrix that converts ECL to EQD.

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: EQD = equatorial system, using equator of date.

Examples

astro_rotation_ECL_EQD(Sys.time())
#>               [,1]         [,2]        [,3]
#> [1,]  9.999795e-01  0.005877401 0.002553921
#> [2,] -6.408302e-03  0.917446222 0.397808199
#> [3,] -5.006856e-06 -0.397816397 0.917465048