Astro::FITS::HdrTrans::UIST - UKIRT UIST translations
use Astro::FITS::HdrTrans::UIST; %gen = Astro::FITS::HdrTrans::UIST->translate_from_FITS( %hdr );
This class provides a generic set of translations that are specific to the UIST camera and spectrometer of the United Kingdom Infrared Telescope.
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.
can_translate
$inst = $class->this_instrument();
Returns "UIST".
Pixel scale in degrees. For imaging, the declination pixel scale is in the CDELT1 header, and for spectroscopy and IFU, it's in CDELT3.
Generate the PIXLSIZE header.
ROTATION comprises the rotation matrix with respect to flipped axes, i.e. x corresponds to declination and Y to right ascension. For other UKIRT instruments this was not the case, the rotation being defined in CROTA2. Here the effective rotation is that evaluated from the PC matrix with a 90-degree counter-clockwise rotation for the rotated axes. If there is a PC3_2 header, we assume that we're in spectroscopy mode and use that instead.
Use the nominal reference pixel if correctly supplied, failing that take the average of the bounds, and if these headers are also absent, use a default which assumes the full array.
Always returns the value as CRPIX1.
Always returns the value as CRPIX2.
$Id$
Astro::FITS::HdrTrans, Astro::FITS::HdrTrans::UKIRT.
Astro::FITS::HdrTrans
Astro::FITS::HdrTrans::UKIRT
Malcolm J. Currie <mjc@star.rl.ac.uk> Brad Cavanagh <b.cavanagh@jach.hawaii.edu>, Tim Jenness <t.jenness@jach.hawaii.edu>.
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.
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.