as.ecc: Convert between different coordinate systems

Description Usage Arguments Value Author(s) Examples

Description

The function converts data between equatorial, ecliptic and horizontal coordinates.

Usage

1
2
3
as.ecc(x)
as.eqc(x,time=lst(),phi=getOption("latitude")) 
as.hoc(x,time=lst(),phi=getOption("latitude")) 

Arguments

x

An object of class eqc,ecc or hoc.

time

Local Sidereal Time - the LST at the moment by default.

phi

Latitude of the observer - taken from options by default.

Value

An converted object of desired class.

Author(s)

Lukasz Komsta

Examples

1
2
3
4
5
6
options(latitude=51,longitude=22)
data(bright)
plot(as.hoc(bright))
plot(as.hoc(bright,time=lst(hour=0)))
plot(as.ecc(bright))
plot(as.hoc(planets()))

Example output



moonsun documentation built on May 29, 2017, 12:17 p.m.