p5-Astro is a set of assorted astronomical routines.
Astro::Time, Astro::Coord and Astro::Misc provide a collection of
useful astronomical routines written entirely in Perl (so no
hassling about installing external libraries is required).
Astro::Hipparcos is a Perl extension for reading the Hipparcos star catalog.
Astro-satpass contains classes needed to predict satellite
visibility, and a demonstration application (satpass) that
makes use of these classes.
Astro::MoonPhase is a perl module that calculates information about
the phase of the moon at a given time.
Astro::Telescope is a class for handling properties of individual telescopes
such as longitude, latitude, height and observational limits.
Astro::Coords is a class for manipulating and transforming astronomical
coordinates. Can handle the following coordinate types:
- Equatorial RA/Dec, galactic (including proper motions and parallax)
- Planets
- Comets/Asteroids
- Fixed locations in azimuth and elevations
- Interpolated apparent coordinates
For time dependent calculations a telescope location and reference time must be
provided. See Astro::Telescope and DateTime for details on specifying location
and reference epoch.
Astro::Flux provides a class for handling astronomical flux quantities. This
class does not currently support conversions from one flux type to another (say,
from magnitudes to Janskies) but may in the future.
Astro::PAL provides a Perl interface to either the Starlink PAL positional
astronomy library.
Return values are returned on the stack rather than being modified in place.
In addition small utility subroutines are provided that do useful tasks (from
the author's point of view) - specifically routines for calculating the Local
Sidereal Time.
Class to transparently deal with the conversion between filters, wavelength,
frequency and other methods of specifying a location in the electro-magentic
spectrum.
Astro::WaveBand tries to determine the natural form of the numbers such that a
request for a summary of the object when it contains 2.2 microns would return
the filter name but would return the wavelength if it was not a standard filter.
In ambiguous cases an instrument name is required to decide what to return. In
really ambiguous cases the user can specify the unit in which to display the
numbers on stringification.
Used mainly as a way of storing a single number in a database table but using
logic to determine the number that an observer is most likely to understand.
Numerical comparison operators can be used to compare two Astro::WaveBand
objects. When checking equality, the "natural" and "instrument" methods are
used, so if two Astro::WaveBand objects return the same value from those
methods, they are considered to be equal. When checking other comparisons such
as greater than, the wavelength is used.
A generic object orientated astronomical catalogue object.