Astro::FITS::HdrTrans::MICHELLE - UKIRT Michelle translations
use Astro::FITS::HdrTrans::MICHELLE; %gen = Astro::FITS::HdrTrans::MICHELLE->translate_from_FITS( %hdr );
This class provides a generic set of translations that are specific to the MICHELLE 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 "MICHELLE".
Declination offsets need to be handled differently for spectroscopy mode because of the new nod iterator.
If we are nodding TDECOFF always comes out as 0.0. We always return zero for spectroscopy and TDECOFF otherwise. It's possible that this is incorrect and should only occur for the specific case of a B chop beam. The chopbeam is not stored in the generic headers.
Usually DET_MODE but in some older data it can be DETMODE.
Cater for early data with missing headers. Normally the NOFFSETS header is available.
Normally use INSTMODE header but for older data use CAMERA.
Right-ascension offsets need to be handled differently for spectroscopy mode because of the new nod iterator.
For data taken before 20010906, return 'UKATC'. For data taken on and after 20010906, return 'UKIRT'. Returned header is TELESCOP.
TELESCOP
Specify the reference pixel, which is normally near the frame centre. Note that offsets for polarimetry are undefined.
Always returns the value '1' as CRPIX1.
Always returns the value '1' as CRPIX2.
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) 2006-2007 Particle Physics and Astronomy Research Council. ACopyright (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.