Astro::FITS::HdrTrans::UIST - UKIRT UIST translations


Astro-FITS-HdrTrans documentation  | view source Contained in the Astro-FITS-HdrTrans distribution.

Index


NAME

Top

Astro::FITS::HdrTrans::UIST - UKIRT UIST translations

SYNOPSIS

Top

  use Astro::FITS::HdrTrans::UIST;

  %gen = Astro::FITS::HdrTrans::UIST->translate_from_FITS( %hdr );

DESCRIPTION

Top

This class provides a generic set of translations that are specific to the UIST camera and spectrometer of the United Kingdom Infrared Telescope.

METHODS

Top

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 "UIST".

COMPLEX CONVERSIONS

Top

to_DEC_SCALE

Pixel scale in degrees. For imaging, the declination pixel scale is in the CDELT1 header, and for spectroscopy and IFU, it's in CDELT3.

from_DEC_SCALE

Generate the PIXLSIZE header.

to_ROTATION

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.

to_X_REFERENCE_PIXEL

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.

from_X_REFERENCE_PIXEL

Always returns the value as CRPIX1.

to_Y_REFERENCE_PIXEL

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.

from_Y_REFERENCE_PIXEL

Always returns the value as CRPIX2.

REVISION

Top

 $Id$

SEE ALSO

Top

Astro::FITS::HdrTrans, Astro::FITS::HdrTrans::UKIRT.

AUTHOR

Top

Malcolm J. Currie <mjc@star.rl.ac.uk> Brad Cavanagh <b.cavanagh@jach.hawaii.edu>, Tim Jenness <t.jenness@jach.hawaii.edu>.

COPYRIGHT

Top


Astro-FITS-HdrTrans documentation  | view source Contained in the Astro-FITS-HdrTrans distribution.