NAME
Astro::FITS::HdrTrans::CGS4New - UKIRT CGS4 translations for "new" style CGS4 headers.
SYNOPSIS
use Astro::FITS::HdrTrans::CGS4New;
%gen = Astro::FITS::HdrTrans::CGS4New->translate_from_FITS( %hdr );
DESCRIPTION
This class provides a generic set of translations that are specific to the CGS4 spectrometer of the United Kingdom Infrared Telescope.
METHODS
- can_translate
-
Returns true if the supplied headers can be handled by this class.
$cando = $class->can_translate( \%hdrs );
This method returns tru if the INSTRUME header exists and is equal to 'CGS4', and if the DHSVER header exists and is equal to 'UKDHS 2008 Dec. 1'.
COMPLEX CONVERSIONS
- to_ROTATION
-
This determines the angle, in decimal degrees, of the rotation of the sky component of the WCS. It uses the standard transformation matrix PCi_j as defined in the FITS WCS Standard. In the absence of a PCi_j matrix, it looks for the CROTA2 keyword.
For CGS4 the PCi_j matrix is obtained from i=[2,3] and j=[2,3].
- to_UTDATE
-
Sets the YYYYMMDD-style UTDATE generic header based on the DATE-OBS header.
SEE ALSO
Astro::FITS::HdrTrans
, Astro::FITS::HdrTrans::UKIRT
.
AUTHOR
Malcolm J. Currie <mjc@star.rl.ac.uk> Brad Cavanagh <b.cavanagh@jach.hawaii.edu>, Tim Jenness <t.jenness@jach.hawaii.edu>.
COPYRIGHT
Copyright (C) 2008 Science and Technology Facilities Council. 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.