Astro::FITS::Header::CFITSIO man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

CFITSIO(3)	      User Contributed Perl Documentation	    CFITSIO(3)

NAME
       Astro::FITS::Header::CFITSIO - Manipulates FITS headers from a FITS
       file

SYNOPSIS
	 use Astro::FITS::Header::CFITSIO;

	 $header = new Astro::FITS::Header::CFITSIO( Cards => \@array );
	 $header = new Astro::FITS::Header::CFITSIO( File => $file );
	 $header = new Astro::FITS::Header::CFITSIO( fitsID => $ifits );

	 $header->writehdr( File => $file );
	 $header->writehdr( fitsID => $ifits );

DESCRIPTION
       This module makes use of the CFITSIO module to read and write directly
       to a FITS HDU.

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

REVISION
       $Id: CFITSIO.pm,v 1.9 2003/10/21 13:00:47 allan Exp $

METHODS
       configure
	   Reads a FITS header from a FITS HDU

	     $header->configure( Cards => \@cards );
	     $header->configure( fitsID => $ifits );
	     $header->configure( File => $file );
	     $header->configure( File => $file, ReadOnly => $bool );

	   Accepts an FITS identifier or a filename. If both fitsID and File
	   keys exist, fitsID key takes priority.

	   If "File" is specified, the file is normally opened in ReadWrite
	   mode.  The "ReadOnly" argument takes a boolean value which
	   determines whether the file is opened ReadOnly.

       writehdr
	   Write a FITS header to a FITS file

	     $header->writehdr( File => $file );
	     $header->writehdr( fitsID => $ifits );

	   Its accepts a FITS identifier or a filename. If both fitsID and
	   File keys exist, fitsID key takes priority.

	   Returns undef on error, true if the header was written
	   successfully.

NOTES
       This module requires Pete Ratzlaff's Astro::FITS::CFITSIO module, and
       William Pence's "cfitsio" subroutine library (v2.1 or greater).

SEE ALSO
       Astro::FITS::Header, Astro::FITS::Header::Item,
       Astro::FITS::Header::NDF, Astro::FITS::CFITSIO

AUTHORS
       Alasdair Allan <aa@astro.ex.ac.uk>, Jim Lewis <jrl@ast.cam.ac.uk>

COPYRIGHT
       Copyright (C) 2001-2002 Particle Physics and Astronomy Research
       Council.	 All Rights Reserved.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.10.0			  2003-10-21			    CFITSIO(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net