parallax.corr: Corrected parallax for a given location and object altitude

Description Usage Arguments Examples

View source: R/mechanics.R

Description

Given the average parallax, this function corrects this value for a given latitude of the observer and for the altitude of the celestial object.

Usage

1
parallax.corr(parallax, loc, altitude = 0)

Arguments

parallax

Average parallax to correct (e.g. 0.00224 for the Sun, or 0.952 for the Moon)

loc

This can be either the latitude of the location, or a skyscapeR.horizon object.

altitude

(Optional) Altitude of the celestial object.. Defaults to 0 degrees.

Examples

1
2
# Parallax correction for the moon, as seen from latitude 50ºN and at 0º altitude
parallax.corr(0.952, 50, 0)

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.