Astro:...t::Moon(3pm)

πŸ“¦ version 1.26, in alpine 3.24

πŸŒ™ Astro::Montenbruck::Ephemeris::Planet::Moon πŸ’–

Okay so this is the <pink>Astro:...t::Moon(3pm)</pink> page from User Contributed Perl Documentation, and it's giving Moon math but make it cute energy. This module is Astro::Montenbruck::Ephemeris::Planet::Moon β€” literally the Moon one, no cap. πŸŒ™βœ¨


✨ NAME ✨

Astro::Montenbruck::Ephemeris::Planet::Moon β€” Moon. That's it, that's the name, bestie. πŸ’…

🫢 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 πŸ¦‹

This is a child class of Astro::Montenbruck::Ephemeris::Planet, and its whole main-character job is calculating the Moon’s position for the mean equinox of date. 🌸

The formulae are based on the analytical theory by E.E.Brown (Improved Lunar Ephemeris), with accuracy of approx. 1 arc-second. Obsessed with the precision, honestly. ✨

πŸ”₯ METHODS πŸ”₯

πŸŒ™ Astro::Montenbruck::Ephemeris::Planet::Moon->new

Constructor. It makes the object, periodt. πŸ’…

🧚 $self->moonpos($t)

Geocentric ecliptic coordinates of the Moon. The coordinates are referred to the mean equinox od date (yes, od, we're keeping the original spelling, bestie πŸ™ˆ).

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>" β€” the icon behind this, fr fr. 🫢

Copyright (C) 2009-2022 by Sergey Krushinsky

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


πŸ’œ Cute little sign-off: this page is from perl v5.42.2, dated 2026-02-15, and it belongs to Astro:...t::Moon(3pm). Slay, bye bestie! πŸ’…πŸŒˆ

πŸ“¦ where this page comes from