Astro::Coord::ECIAstro::Coord::ECI is a Perl module to manipulate geocentric coordinates. | |
Download |
Astro::Coord::ECI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Thomas R. Wyant, III
- Publisher web site:
- http://search.cpan.org/~wyant/Astro-satpass-0.012/lib/Astro/Coord/ECI.pm
Astro::Coord::ECI Tags
Astro::Coord::ECI Description
Astro::Coord::ECI is a Perl module to manipulate geocentric coordinates. Astro::Coord::ECI is a Perl module to manipulate geocentric coordinates.SYNOPSIS use Astro::Coord::ECI; use Astro::Coord::ECI::Sun; use Astro::Coord::ECI::TLE; use Astro::Coord::ECI::Utils qw{rad2deg}; # 1600 Pennsylvania Avenue, in radians, radians, and KM my ($lat, $lon, $elev) = (0.678911227503559, -1.34456123391096, 0.01668); # Record the time my $time = time (); # Set up observer's location my $loc = Astro::Coord::ECI->geodetic ($lat, $lon, $elev); # Instantiate the Sun. my $sun = Astro::Coord::ECI::Sun->universal ($time); # Figure out if the Sun is up at the observer's location. my ($azimuth, $elevation, $range) = $loc->azel ($sun); print "The Sun is ", rad2deg ($elevation), " degrees above the horizon.n"; # Instantiate a satellite. The parser returns a list. my ($tle) = Astro::Coord::ECI::TLE->parse (eci (); print Requirements: · Perl
Astro::Coord::ECI Related Software