Tim Jenness > Astro-Catalog-4.24 > Astro::Catalog::IO::Simple

Download:
Astro-Catalog-4.24.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.00   Source   Latest Release: Astro-Catalog-4.31

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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 ^

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

FORMAT ^

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 ^

Copyright (C) 2001-2003 University of Exeter. All Rights Reserved. Some modificiations Copyright (C) 2003 Particle Physics and Astronomy Research Council. All Rights Reserved.

This module was written as part of the eSTAR project in collaboration with the Joint Astronomy Centre (JAC) in Hawaii and is free software; you can redistribute it and/or modify it under the terms of the GNU Public License.

AUTHORS ^

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

syntax highlighting: