Skip to contents

Calculates a rotation matrix from true ecliptic of date (ECT) to J2000 mean equator (EQJ).

Usage

astro_rotation_ECT_EQJ(time)

Arguments

time

A POSIXct object representing the date and time at which the Earth's ecliptic defines the source orientation.

Value

A rotation matrix that converts ECT to EQJ.

Details

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

Source: ECT = ecliptic system, using true equinox of the specified date/time.

Target: EQJ = equatorial system, using mean equator at J2000 epoch.

Examples

astro_rotation_ECT_EQJ(Sys.time())
#>              [,1]         [,2]         [,3]
#> [1,] 9.999794e-01 -0.005883154 -0.002556119
#> [2,] 6.414454e-03  0.917486893  0.397714290
#> [3,] 5.390974e-06 -0.397722504  0.917505755