precess_xyz: Precess equatorial geocentric rectangular coordinates

Description Usage Arguments Details Value Author(s) Examples

Description

Precess equatorial geocentric rectangular coordinates

Usage

1
precess_xyz(x, y, z, equinox1, equinox2)

Arguments

x

heliocentric rectangular coordinate, scalar or vector

y

heliocentric rectangular coordinate, scalar or vector

z

heliocentric rectangular coordinate, scalar or vector

equinox1

equinox of input coordinates, scalar

equinox2

equinox of output coordinates, scalar

Details

The equatorial geocentric rectangular coordinates are converted to (RA,Dec), precessed in the normal way, and then converted back to (x,y,z) using unit vectors.

The input (x,y,z) coordinates are changed upon return.

Value

x

precessed heliocentric rectangular coordinate, scalar or vector

y

precessed heliocentric rectangular coordinate, scalar or vector

z

precessed heliocentric rectangular coordinate, scalar or vector

Author(s)

P. Plait ACC 1999

Arnab Chakraborty R adaptation 2013

Examples

1
precess(1.0, 1.0, 1.0, 2000, 2050)

astrolibR documentation built on May 2, 2019, 3:26 a.m.