Astro::Catalog::IO::Simple - Simple Input/Output format


Astro-Catalog documentation  | view source Contained in the Astro-Catalog distribution.

Index


NAME

Top

Astro::Catalog::IO::Simple - Simple Input/Output format

SYNOPSIS

Top

  $catalog = Astro::Catalog::IO::Simple->_read_catalog( \@lines );
  \@lines = Astro::Catalog::IO::Simple->_write_catalog( $catalog );
  Astro::Catalog::IO::Cluster->_default_file();

DESCRIPTION

Top

Performs simple IO, reading or writing "id_string hh mm ss.s +dd mm ss.s" formated strings for each Astro::Catalog::Star object in the catalog.

REVISION

Top

$Id: Simple.pm,v 1.6 2005/03/31 01:24:53 cavanagh Exp $

FORMAT

Top

The Simple format is defined as follows: Any line that looks like

ID HH MM SS.SS +/-DD MM SS.SS TYPE # Comment

will be matched. A space is allowed between the sign and the declination. The type is optional (as is the comment) and can be one of J2000, B1950, GALACTIC, AZEL or SUPERGALACTIC or the JCMT abbreviations (RJ, RB, GA or AZ). If TYPE is not present J2000 is assumed.

COPYRIGHT

Top

AUTHORS

Top

Alasdair Allan <aa@astro.ex.ac.uk> Tim Jenness <tjenness@cpan.org>


Astro-Catalog documentation  | view source Contained in the Astro-Catalog distribution.