Learn R Programming

skyscapeR (version 1.0.0)

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

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

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

Run this code
# NOT RUN {
# Parallax correction for the moon, as seen from latitude 50<U+00BA>N and at 0<U+00BA> altitude
parallax.corr(0.952, 50, 0)
# }

Run the code above in your browser using DataLab