++ed by:
1 non-PAUSE user
Author image Sergey Krushinsky
and 1 contributors

NAME

Astro::Montenbruck::Ephemeris::Planet::Moon - Moon.

SYNOPSIS

  use Astro::Montenbruck::Ephemeris::Planet::Moon;
  my $planet = Astro::Montenbruck::Ephemeris::Planet::Moon->new();
  my @geo = $planet->moonpos($t); # apparent geocentric ecliptical coordinates

DESCRIPTION

Child class of Astro::Montenbruck::Ephemeris::Planet, responsible for calculating Moon position for the mean equinox of date.

Formulae are based on analytical theory of by E.E.Brown (Improved Lunar Ephemeris) with accuracy of approx. 1 arc-second.

METHODS

Astro::Montenbruck::Ephemeris::Planet::Moon->new

Constructor.

$self->moonpos($t)

Geocentric ecliptic coordinates of the Moon. The coordinates are referred to the mean equinox od date

Arguments

$t — time in Julian centuries since J2000: (JD-2451545.0)/36525.0

Returns

Hash of geocentric ecliptical coordinates.

  • x — geocentric longitude, arc-degrees

  • y — geocentric latitude, arc-degrees

  • z — distance from Earth, AU

AUTHOR

Sergey Krushinsky, <krushi at cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2021 by Sergey Krushinsky

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.