Astro::FITS::HdrTrans::IRCAM - UKIRT IRCAM translations
use Astro::FITS::HdrTrans::IRCAM; %gen = Astro::FITS::HdrTrans::IRCAM->translate_from_FITS( %hdr );
This class provides a generic set of translations that are specific to the IRCAM camera 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 a pattern match for /^IRCAM\d?/".
Pixel scale along the Declination axis in arcseconds. If the pixel scale is not defined in the PIXELSIZ or CDELT2 headers, then default to 0.08144 arcseconds for data taken after 19990901, or 0.286 arcseconds for older data. The value will always be positive.
Generate the PIXELSIZ or CDELT2 header for IRCAM2 or IRCAM3 data respectively. The header will be returned in arcseconds, and will always be positive.
Checks the filter name.
Returns the pixel scale along the RA axis in arcseconds. If the pixel scale is not defined in the PIXELSIZ or CDELT1 headers, then default to -0.08144 arcseconds for data taken after 19990901, or -0.286 arcseconds for older data. The value will always be negative.
Generates the PIXELSIZ or CDELT1 header for IRCAM2 or IRCAM3 data respectively. The header will be returned in arcseconds, and will always be negative.
For data taken before 22 November 2000, the SPD_GAIN header was not written. Obtain the SPEED_GAIN from the detector bias if the SPD_GAIN header is not defined. If the detector bias is between 0.61 and 0.63, then the SPEED_GAIN is Standard. Otherwise, it is Deepwell.
Translates the SPEED_GAIN generic header into the SPD_GAIN IRCAM-specific header. Note that this will break bi-directional tests as the SPD_GAIN header did not exist in data taken before 2000 November 22.
For data taken before 20000607, return 'UKIRT, Mauna Kea, HI'. For data taken on and after 20000607, return 'UKIRT,Mauna_Kea,HI'. Returned header is TELESCOP.
TELESCOP
Specify the reference pixel, which is normally near the frame centre. Note that offsets for polarimetry are undefined.
Returns CRPIX1.
Returns CRPIX2.
Returns fixed rotation values based on the UT date.
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.