| 1 |
Astro::FITS::Header module |
| 2 |
-------------------------- |
| 3 |
|
| 4 |
What is it? |
| 5 |
----------- |
| 6 |
Astro::FITS::Header and associated sub-classes are tools for reading, |
| 7 |
modifying and then writing out FITS standard header blocks to FITS, NDF |
| 8 |
and GSD files. The module now fully supports ESO HIERARCH header keywords. |
| 9 |
Support for instantiating Astro::FITS:Header objects from Starlink::AST |
| 10 |
FrameSet objects is also supported. |
| 11 |
|
| 12 |
Full documentation is included in the POD attached to the modules. |
| 13 |
|
| 14 |
Tied Interface |
| 15 |
-------------- |
| 16 |
This is a warning for those of you using the tied interface from previous |
| 17 |
versions of the module. The interface now acts very differently, theoretically |
| 18 |
the changes shouldn't break existing code, but it has diverged sufficiently |
| 19 |
far from the original that I'm no longer convinced that it will work in all |
| 20 |
cases. Be warned! |
| 21 |
|
| 22 |
Requirements |
| 23 |
------------ |
| 24 |
|
| 25 |
The Astro::FITS::Header module can work with FITS Header blocks, either |
| 26 |
directly from the primary FITS HDU of a file complying with the FITS data |
| 27 |
standard, or from the FITS extension in an extensible N-dimensional data |
| 28 |
format (NDF) file or from a Global Section Data file (GSD). Additionally |
| 29 |
the module also supports .HEADER in HDS contanier files, and Starlink::AST |
| 30 |
FrameSet objects. |
| 31 |
|
| 32 |
To work with FITS files, the Astro::FITS::Header module requires Pete |
| 33 |
Ratzlaff's <[email protected]> Astro::FITS::CFITSIO library |
| 34 |
(v 1.01 or greater), which in turn requires William Pence's CFITSIO |
| 35 |
subroutine library (v2.430 or greater). It should be noted that to |
| 36 |
build the CFITSIO subroutine library on RedHat Linux 7.x you need to |
| 37 |
use version 2.202 or above, however the module requires v2.400 at least |
| 38 |
to work with the Astro::FITS::CFITSIO module. |
| 39 |
|
| 40 |
For more information on CFITSIO, see https://heasarc.gsfc.nasa.gov/fitsio/ |
| 41 |
|
| 42 |
To work with NDF, HDS and GSD files, the Astro::FITS::Header module |
| 43 |
requires Tim Jenness' <[email protected]> NDF (version 1.42 or |
| 44 |
greater) and GSD modules. These modules are installed as part of the |
| 45 |
PERLMODS package in the Starlink Software Collection. |
| 46 |
|
| 47 |
To work with AST FrameSet objects the Starlink::AST module is required, |
| 48 |
this module (should) be available from CPAN or by contacting the authors |
| 49 |
of this package. |
| 50 |
|
| 51 |
For more information on the Starlink Software Collection and the Starlink |
| 52 |
Project in general see https://www.starlink.ac.uk/ |
| 53 |
|
| 54 |
Provides |
| 55 |
-------- |
| 56 |
The package provides the following classes |
| 57 |
|
| 58 |
Astro::FITS::Header |
| 59 |
Astro::FITS::Header::Item |
| 60 |
Astro::FITS::Header::NDF |
| 61 |
Astro::FITS::Header::CFITSIO |
| 62 |
Astro::FITS::Header::GSD |
| 63 |
Astro::FITS::Header::AST |
| 64 |
|
| 65 |
which all include POD format documentation. |
| 66 |
|
| 67 |
Where can I get it? |
| 68 |
------------------- |
| 69 |
The package is available from CPAN <https://www.cpan.org/> |
| 70 |
|
| 71 |
Installation |
| 72 |
------------ |
| 73 |
Installation is automated using the ExtUtils::MakeMaker library |
| 74 |
|
| 75 |
% perl Build.PL |
| 76 |
% ./Build |
| 77 |
% ./Build test |
| 78 |
% ./Build install |
| 79 |
|
| 80 |
If the Astro::FITS::CFITSIO, NDF or Starlink::AST modules are not |
| 81 |
installed 'make test' will detect this and skip the test harness |
| 82 |
for the relevant modules with a warning. |
| 83 |
|
| 84 |
Note on Versioning |
| 85 |
--------------- |
| 86 |
|
| 87 |
Due to misunderstandings on the CPAN versioning scheme all modules in this |
| 88 |
release have jumped to version >= 3.0 to force reindexing. Patch numbers are |
| 89 |
no longer included in the distribution. |
| 90 |
|
| 91 |
Authors |
| 92 |
------- |
| 93 |
The module was originally written by Alasdair Allan <[email protected]>, of |
| 94 |
the University of Exeter Astrophysics Group (http://www.astro.ex.ac.uk/) as |
| 95 |
part of his work for the Starlink Project (http://www.starlink.ac.uk/), and |
| 96 |
Tim Jenness <[email protected]> of the Joint Astronomy Center (JAC) |
| 97 |
(http://www.jach.hawaii.edu/) in Hawaii. |
| 98 |
|
| 99 |
This version of the module includes patches supplied by Diab Jerius |
| 100 |
<[email protected]>, of the Harvard-Smithsonian Center for Astrophysics, |
| 101 |
and by Jim Lewis <[email protected]>, of the Cambridge Astronomy Survey Unit |
| 102 |
at the Institute of Astronomy, to allow access to Multi-Extension FITS files. |
| 103 |
|
| 104 |
The tied interface was updated for version 2.x by Craig DeForest |
| 105 |
<[email protected]> of the Department of Space Studies, Southwest |
| 106 |
Research Institute and Tim Jenness <[email protected]> of the Joint |
| 107 |
Astronomy Center (JAC) in Hawaii. Patches to fix some bugs in the tied |
| 108 |
interface when dealing with blank cards were supplied by Brad Cavangh |
| 109 |
<[email protected]> of the Joint Astronomy Center (JAC) in Hawaii. |
| 110 |
|
| 111 |
Modifications to parse ESO HIERARCH keywords, read-only, were added by |
| 112 |
Malcolm Currie <[email protected]> of the Rutherford Appleton Laboratory. |
| 113 |
|
| 114 |
Maintainer |
| 115 |
---------- |
| 116 |
The package is currently maintained by Tim Jenness <[email protected]>. |
| 117 |
Please use CPAN RT for bug reports and github pull requests for patches. |
| 118 |
The source code repository is at |
| 119 |
|
| 120 |
https://github.com/timj/perl-Astro-FITS-Header.git |
| 121 |
|
| 122 |
License |
| 123 |
------- |
| 124 |
This program is free software; you can redistribute it and/or modify it under |
| 125 |
the terms of the GNU General Public License as published by the Free Software |
| 126 |
Foundation; either version 3 of the License, or (at your option) any later |
| 127 |
version. |
| 128 |
|
| 129 |
This program is distributed in the hope that it will be useful,but WITHOUT ANY |
| 130 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 131 |
PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 132 |
|
| 133 |
You should have received a copy of the GNU General Public License along with |
| 134 |
this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
| 135 |
Place,Suite 330, Boston, MA 02111-1307, USA |