Skip to contents

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

Usage

astro_rotation_EQD_ECL(time)

Arguments

time

A POSIXct object representing the date and time.

Value

A rotation matrix that converts EQD to ECL.

Details

This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.

Source: EQD = equatorial system, using equator of date.

Target: ECL = ecliptic system, using equator at J2000 epoch.

Examples

astro_rotation_EQD_ECL(Sys.time())
#>             [,1]         [,2]          [,3]
#> [1,] 0.999979467 -0.006408302 -5.006856e-06
#> [2,] 0.005877401  0.917446222 -3.978164e-01
#> [3,] 0.002553921  0.397808199  9.174650e-01