Astro::SolarParallax

Find the Solar Parallax from Venus Transit
Download

Astro::SolarParallax Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kjetil Kjernsmo
  • Publisher web site:
  • http://search.cpan.org/~kjetilk/

Astro::SolarParallax Tags


Astro::SolarParallax Description

Find the Solar Parallax from Venus Transit Astro::SolarParallax is a Perl module that helps you find the Solar Parallax from Venus Transit.SYNOPSIS use Astro::SolarParallax::Observer; use Astro::SolarParallax; use Geo::Coordinates; my $obs1 = new Geo::Coordinates; my $obs2 = new Geo::Coordinates; $obs1->latitude(78.20); # Longyearbyen $obs1->longitude(15.82); $obs2->latitude(13.7307); # Bangkok $obs2->longitude(100.521); my $observer1 = Astro::SolarParallax::Observer->new($obs1); my $observer2 = Astro::SolarParallax::Observer->new($obs2); # Longyearbyen $observer1->contacttime(1, "07:17:47"); $observer1->contacttime(4, "13:21:00"); # Bangkok $observer2->contacttime(1, "07:13:07"); $observer2->contacttime(4, "13:20:36"); my $measurement = Astro::SolarParallax->new($observer1, $observer2); print $measurement->AU(1,4);This module is intended to be used to compute the solar parallax from planetary transits. Specifically, in the current implementation, it makes use of a method developed by F. Mignard, and is limited to the transit of Venus on 2004-06-08.It has a object oriented interface.new($obs1, $obs2) This is the constructor of this class, it takes as argument two observers, that is, two objects of the Astro::SolarParallax::Observer class.AU(@contacts) This method will return the distance to the sun in kilometers, based on the measurements done by the two observers given to the constructor. It takes as argument and array containing the number of the contact points, in ascending order. The constraints in the Astro::SolarParallax::Observer apply. Requirements: · Perl


Astro::SolarParallax Related Software