| Astro-Catalog documentation | view source | Contained in the Astro-Catalog distribution. |
Astro::Catalog::IO::UKIRTBS - Old format used by UKIRT Bright Star catalogues
$cat = Astro::Catalog::IO::UKIRTBS->_read_catalog( \@lines );
This class provides a read method for catalogs written in a format
used by the old ukstar web interface to the SAO and Bright Star
catalogues. It is probable that this format has a real name and is a
historical format rather than a UKIRT-specific format but the history
of ukstar and the associated catalogue files is not known to the
author of this module.
Parses the catalogue lines and returns a new Astro::Catalog
object containing the catalog entries.
$cat = Astro::Catalog::IO::JCMT->_read_catalog( \@lines );
No options are supported.
The catalog format uses fixed formatting (first column is column 1):
Columns 1-7 star id 10-20 Right Ascension (presumed B1950). Radians 21-32 Declination (presumed B1950). Radians 33-38 "rap" (unknown) 39-44 "decp" (unknown) 45-49 V Magnitude 50- Spectral type
Copyright (C) 2004 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 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA
Tim Jenness <tjenness@cpan.org>
| Astro-Catalog documentation | view source | Contained in the Astro-Catalog distribution. |