Astro::FITS::HdrTrans::CGS4New - UKIRT CGS4 translations for "new"


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

Index


NAME

Top

Astro::FITS::HdrTrans::CGS4New - UKIRT CGS4 translations for "new" style CGS4 headers.

SYNOPSIS

Top

  use Astro::FITS::HdrTrans::CGS4New;

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

DESCRIPTION

Top

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

METHODS

Top

can_translate

Returns true if the supplied headers can be handled by this class.

  $cando = $class->can_translate( \%hdrs );

This method returns tru if the INSTRUME header exists and is equal to 'CGS4', and if the DHSVER header exists and is equal to 'UKDHS 2008 Dec. 1'.

COMPLEX CONVERSIONS

Top

to_ROTATION

This determines the angle, in decimal degrees, of the rotation of the sky component of the WCS. It uses the standard transformation matrix PCi_j as defined in the FITS WCS Standard. In the absence of a PCi_j matrix, it looks for the CROTA2 keyword.

For CGS4 the PCi_j matrix is obtained from i=[2,3] and j=[2,3].

to_UTDATE

Sets the YYYYMMDD-style UTDATE generic header based on the DATE-OBS header.

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.