Astro::FITS::Header::AST(3pm)

Astro::FITS::Header::AST3pm

Manipulates fits headers from an ast object

Usage

  use Astro::FITS::Header::AST;
  $header = new Astro::FITS::Header::AST( FrameSet => $wcsinfo );
  $header = new Astro::FITS::Header::AST( FrameSet => $wcsinfo,
                                          Encoding => 'FITS-IRAF' );
  $header = new Astro::FITS::Header::AST( Cards => \@cards );

Overview

This module makes use of the Starlink::AST module to read the FITS HDU from an AST FrameSet object.

It stores information about a FITS header block in an object. Takes an hash as an argument, with an array reference pointing to an Starlink::AST FramSet object.

Revision

$Id$

Methods

configure

Reads a FITS header from a Starlink::AST FrameSet object

  $header->configure( FrameSet => $wcsinfo );

Base class initialisation also works:

  $header->configure( Cards => \@cards );

Accepts a reference to an Starlink::AST FrameSet object.

If a specific encoding is required, this can be specified using the Encoding argument. Default is FITS-WCS if no Encoding is given. Note that not all framesets can be encoded using FITS-WCS.

  $header->configure( FrameSet => $wcsinfo, Encoding => "Native" );

If Encoding is specified but undefined, the default will be decided by AST.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

Authors

Alasdair Allan <[email protected]>, Tim Jenness <[email protected]>

From libastro-fits-header-perl 3.09-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.