Astro::FITS::HdrTrans::UKIRTOld - Base class for translation of old UKIRT instruments
use Astro::FITS::HdrTrans::UKIRTOld;
This class provides a generic set of translations that are common to CGS4 and IRCAM from the United Kingdom Infrared Telescope. It should not be used directly for translation of instrument FITS headers.
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).
Converts IDATE into UTDATE without any modification. Flattens duplicate headers into a single header.
Converts UTDATE into IDATE without any modification.
Converts FITS header UT date/time values for the start of the observation into a Time::Piece object.
Time::Piece
Converts a Time::Piece object into two FITS headers for IRCAM: IDATE (in the format YYYYMMDD) and RUTSTART (decimal hours).
Converts FITS header UT date/time values for the end of the observation into a Time::Piece object.
Converts a Time::Piece object into two FITS headers for IRCAM: IDATE (in the format YYYYMMDD) and RUTEND (decimal hours).
Sets the instrument data handling system header. Note that for old instruments there is no DHSVER header so this simply returns the name of the instrument and a UKDHS suffix.
$Id$
Astro::FITS::HdrTrans, Astro::FITS::HdrTrans::UKIRT
Astro::FITS::HdrTrans
Astro::FITS::HdrTrans::UKIRT
Brad Cavanagh <b.cavanagh@jach.hawaii.edu>, Tim Jenness <t.jenness@jach.hawaii.edu>.
Copyright (C) 2007-2008 Science and Technology Facilities Council. Copyright (C) 2003-2007 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.
To install Astro::FITS::HdrTrans, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::FITS::HdrTrans
CPAN shell
perl -MCPAN -e shell install Astro::FITS::HdrTrans
For more information on module installation, please visit the detailed CPAN module installation guide.