
Astro::Catalog::IO::RITMatch - Catalogue I/O for Astro::Catalog for Michael Richmond's 'match' program.

$cat = Astro::Catalog::IO::RITMatch->_read_catalog( \@lines ); $arrref = Astro::Catalog::IO::RITMatch->_write_catalog( $cat, %options );

This class provides read and write methods for catalogues in Michael Richmond's 'match' application's input and output file format. The methods are not public and should, in general only be called from the Astro::Catalog write_catalog and read_catalog methods.

Parses the catalogue lines and returns a new Astro::Catalog object containing the catalogue entries.
$cat = Astro::Catalog::IO::RITMatch->_read_catalog( \@lines, %options );
Currently supported options are:
Create an output catalogue in the 'match' format and return the lines in an array.
$ref = Astro::Catalog::IO::RITMatch->_write_catalog( $catalog, %options );
The sole mandatory argument is an Astro::Catalog object.
Optional arguments are:
The output format has the ID in column 1, X coordinate in column 2, Y coordinate in column 3, magnitude value in column 4, and any comments in column 5.

$Id: RITMatch.pm,v 1.2 2007/05/31 01:45:07 cavanagh Exp $

Astro::Catalog, Astro::Catalog::IO::Simple

Copyright (C) 2006 Particle Physics and Astronomy Research Council. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Public License.

Brad Cavanagh <b.cavanagh@jach.hawaii.edu>