precess_xyz {astrolibR}R Documentation

Precess equatorial geocentric rectangular coordinates

Description

Precess equatorial geocentric rectangular coordinates

Usage

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

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

[Package astrolibR version 0.1 Index]