astro-0.4.2.0: Amateur astronomical computations

Data.Astro.CelestialObject.RiseSet

Description

Computations rise and set of selestial objects.

# Examples

## Stars

See Data.Astro.Star module for example.

## Planets

See Data.Astro.Planet module for example.

Synopsis

# Documentation

data RiseSet a Source #

Some Info of Rise and Set of a celestial object

Constructors

 RiseSet a a Some Info of Rise and Set of the celestial object Circumpolar The celestial object is always above the horizon NeverRises The celestial object is always below the horizon

Instances

 Eq a => Eq (RiseSet a) Source # Methods(==) :: RiseSet a -> RiseSet a -> Bool #(/=) :: RiseSet a -> RiseSet a -> Bool # Show a => Show (RiseSet a) Source # MethodsshowsPrec :: Int -> RiseSet a -> ShowS #show :: RiseSet a -> String #showList :: [RiseSet a] -> ShowS #

type RSInfo a = (a, DecimalDegrees) Source #

Rise or Set time and azimuth

LST (Local Sidereal Time) and Azimuth of Rise and Set

Local Civil Time and Azimuth of Rise and Set

The optional Rise And optinal Set Information (LocalCivilTime and Azimuth)

Calculate rise and set local sidereal time of a celestial object. It takes the equatorial coordinates of the celestial object, vertical shift and the latitude of the observation. To calculate vertical shift for stars use function refract from Data.Astro.Effects. In most cases you can assume that vertical shift equals 0.566569 (34 arcmins ~ 'refract (DD 0) 12 1012').

Calculate rise and set local sidereal time of a celestial object that changes its equatorial coordinates during the day (the Sun, the Moon, planets). It takes epsilon, the function that returns equatorial coordinates of the celestial object for a given julian date, vertical shift and the latitude of the observation. To calculate vertical shift for stars use function refract from Data.Astro.Effects. In most cases you can assume that vertical shift equals 0.566569 (34 arcmins ~ 'refract (DD 0) 12 1012').

Calculates set and rise of the celestial object It takes geographic coordinates of the observer, local civil date, vertical shift and equatorial coordinates of the celestial object.

Converts Rise and Set in Local Sidereal Time to Rise and Set in Local Civil Time. It takes longutude of the observer and local civil date. To calculate vertical shift for stars use function refract from Data.Astro.Effects. In most cases you can assume that vertical shift equals 0.566569 (34 arcmins ~ 'refract (DD 0) 12 1012').