Brad Cavanagh > Astro-FITS-HdrTrans-0.05 > Astro::FITS::HdrTrans::UFTI

Download:
Astro-FITS-HdrTrans-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.023   Source  

NAME ^

Astro::FITS::HdrTrans::UFTI - UKIRT UFTI translations

SYNOPSIS ^

  use Astro::FITS::HdrTrans::UFTI;

  %gen = Astro::FITS::HdrTrans::UFTI->translate_from_FITS( %hdr );

DESCRIPTION ^

This class provides a generic set of translations that are specific to the UFTI camera of the United Kingdom Infrared Telescope.

METHODS ^

this_instrument

The name of the instrument required to match (case insensitively) against the INSTRUME/INSTRUMENT keyword to allow this class to translate the specified headers. Called by the default can_translate method.

  $inst = $class->this_instrument();

Returns "UFTI".

COMPLEX CONVERSIONS ^

These methods are more complicated than a simple mapping. We have to provide both from- and to-FITS conversions All these routines are methods and the to_ routines all take a reference to a hash and return the translated value (a many-to-one mapping) The from_ methods take a reference to a generic hash and return a translated hash (sometimes these are many-to-many)

to_UTDATE

Converts FITS header values into Time::Piece object. This differs from the base class in the use of the DATE rather than UTDATE header item.

from_UTDATE

Converts UT date in Time::Piece object into YYYY-MM-DD format for DATE header. This differs from the base class in the use of the DATE rather than UTDATE header item.

REVISION ^

 $Id: UFTI.pm,v 1.23 2005/04/06 03:42:10 timj Exp $

SEE ALSO ^

Astro::FITS::HdrTrans, Astro::FITS::HdrTrans::UKIRT.

AUTHOR ^

Brad Cavanagh <b.cavanagh@jach.hawaii.edu>, Tim Jenness <t.jenness@jach.hawaii.edu>.

COPYRIGHT ^

Copyright (C) 2003-2005 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