Astro::Coord::ECI::VSOP87D::Uranus - VSOP87D model of the position of Uranus
use Astro::Coord::ECI::VSOP87D::Uranus; use Astro::Coord::ECI::Utils qw{ deg2rad }; use POSIX qw{ strftime }; use Time::Local qw{ localtime }; my $station = Astro::Coord::ECI->new( name => 'White House', )->geodetic( deg2rad( 38.899 ), # radians deg2rad( -77.038 ), # radians 16.68/1000, # Kilometers ); my $venus = Astro::Coord::ECI::VSOP87D::Uranus->new( station => $station, ); my $today = timelocal( 0, 0, 0, ( localtime )[ 3 .. 5 ] ); foreach my $item ( $venus->almanac( $today, $today + 86400 ) ) { local $\ = "\n"; print strftime( '%d-%b-%Y %H:%M:%S', localtime $item->[0] ), $item->[3]; }
This Perl class computes the position of Uranus using the VSOP87D model. It is a subclass of Astro::Coord::ECI::VSOP87D::_Superior.
This class supports no additional public methods.
This class has no additional attributes.
Astro::Coord::ECI
Astro::Coord::ECI::VSOP87D
Support is by the author. Please file bug reports at http://rt.cpan.org, or in electronic mail to the author.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (C) 2018 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
To install Astro::Coord::ECI::VSOP87D, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::Coord::ECI::VSOP87D
CPAN shell
perl -MCPAN -e shell install Astro::Coord::ECI::VSOP87D
For more information on module installation, please visit the detailed CPAN module installation guide.