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

Astro::FITS::Header::GSD3pm

Manipulate fits headers from gsd files

Usage

  use Astro::FITS::Header::GSD;
  $hdr = new Astro::FITS::Header::GSD( Cards => \@cards );
  $hdr = new Astro::FITS::Header::GSD( gsdobj => $gsd );
  $hdr = new Astro::FITS::Header::GSD( File => $file );

Overview

This module makes use of the Starlink GSD module to read from a GSD header.

It stores information about a FITS header block in an object. Takes an hash as an argument, with either an array reference pointing to an array of FITS header cards, or a filename, or (alternatively) a GSD object.

Methods

configure

Reads a header from a GSD file.

  $hdr->configure( Cards => \@cards );
  $hdr->configure( Items => \@items );
  $hdr->configure( gsdobj => $gsd );
  $hdr->configure( File => $filename );

Accepts a GSD object or a filename. If both "gsdobj" and "File" keys exist, "gsdobj" key takes priority.

writehdr

The GSD library is read-only. The writehdr method is not implemented for this sub-class.

Notes

This module requires the Starlink GSD module.

GSD supports keys that are longer than the 8 characters allowed as part of the FITS standard. GSD keys are truncated to 8 characters by this module.

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

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

Authors

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

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