Astro::Montenbruck::Ephemeris::Planet - Base class for a planet.
# given mean geocentric coordinates $x0, $y0, $z0, # transform them to apparent coordinates $x1, $y1, $z1 my $func = nutequ( $t ); ($x1, $y1, $z1) = $func->($x0, $y0, $z0); # true coordinates
Base class for a planet. Designed to be extended. Used internally in Astro::Montenbruck::Ephemeris modules. Subclasses must implement heliocentric method.
Calculates the effects of nutation on the ecliptic longitude and on the obliquity of the ecliptic with accuracy of about 1 arcsecond. Given time in Julian centuries since J200, return delta-psi and delta-eps.
$t — time in Julian centuries since J2000: (JD-2451545.0)/36525.0
(JD-2451545.0)/36525.0
($delta_psi, $delta_eps), in arc-degrees.
($delta_psi, $delta_eps)
Returns function for transforming of mean to true coordinates.
Function which takes mean ecliptic geocentric coordinates of the planet X, Y, Z of a planet and returns true coordinates, i.e. corrected for "nutation in ecliptic and obliquity".
Given time in Julian centuries since J200, return mean obliquity of the ecliptic, in arc-degrees.
Sergey Krushinsky, <krushi at cpan.org>
<krushi at cpan.org>
Copyright (C) 2009-2019 by Sergey Krushinsky
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head3'
To install Astro::Montenbruck, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::Montenbruck
CPAN shell
perl -MCPAN -e shell install Astro::Montenbruck
For more information on module installation, please visit the detailed CPAN module installation guide.