NAME
Astro::FITS::HdrTrans::MICHELLE - UKIRT Michelle translations
SYNOPSIS
use Astro::FITS::HdrTrans::MICHELLE;
%gen = Astro::FITS::HdrTrans::MICHELLE->translate_from_FITS( %hdr );
DESCRIPTION
This class provides a generic set of translations that are specific to the MICHELLE camera and spectrometer of the United Kingdom Infrared Telescope.
METHODS
- this_instrument
-
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.$inst = $class->this_instrument();
Returns "MICHELLE".
COMPLEX CONVERSIONS
- to_DEC_TELESCOPE_OFFSET
-
Declination offsets need to be handled differently for spectroscopy mode because of the new nod iterator.
- from_DEC_TELESCOPE_OFFSET
-
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.
- to_DETECTOR_READ_TYPE
-
Usually DET_MODE but in some older data it can be DETMODE.
- to_NUMBER_OF_OFFSETS
-
Cater for early data with missing headers. Normally the NOFFSETS header is available.
- to_OBSERVATION_MODE
-
Normally use INSTMODE header but for older data use CAMERA.
- to_RA_TELESCOPE_OFFSET
-
Right-ascension offsets need to be handled differently for spectroscopy mode because of the new nod iterator.
- from_TELESCOPE
-
For data taken before 20010906, return 'UKATC'. For data taken on and after 20010906, return 'UKIRT'. Returned header is
TELESCOP
. - to_X_REFERENCE_PIXEL
-
Specify the reference pixel, which is normally near the frame centre. Note that offsets for polarimetry are undefined.
- from_X_REFERENCE_PIXEL
-
Always returns the value '1' as CRPIX1.
- to_Y_REFERENCE_PIXEL
-
Specify the reference pixel, which is normally near the frame centre. Note that offsets for polarimetry are undefined.
- from_Y_REFERENCE_PIXEL
-
Always returns the value '1' as CRPIX2.
REVISION
$Id$
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) 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.