Astro::FITS::HdrTrans::NIRI - Gemini NIRI translations


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

Index


NAME

Top

Astro::FITS::HdrTrans::NIRI - Gemini NIRI translations

SYNOPSIS

Top

  use Astro::FITS::HdrTrans::NIRI;

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

DESCRIPTION

Top

This class provides a generic set of translations that are specific to NIRI on the Gemini Observatory.

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

COMPLEX CONVERSIONS

Top

to_ROTATION

Converts a linear transformation CD matrix into a single rotation angle. This angle is measured counter-clockwise from the positive x-axis. It uses the SLALIB routine slaDcmpf obtain the rotation angle without assuming perpendicular axes.

This routine also copes with errors in the matrix that can generate angles +/-90 degrees instead of near 0 that they should be.

REVISION

Top

 $Id: SOFI.pm 14879 2008-02-13 21:51:31Z timj $

SEE ALSO

Top

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

AUTHOR

Top

Malcolm J. Currie <mjc@star.rl.ac.uk> Paul Hirst <p.hirst@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.