Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 37ce2601040f8edc2329d4714238376a > files > 691

eso-midas-doc-13SEPpl1.2-3.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Structure of FITS files</TITLE>
<META NAME="description" CONTENT="Structure of FITS files">
<META NAME="keywords" CONTENT="vol1">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="vol1.css">
<LINK REL="next" HREF="node112.html">
<LINK REL="previous" HREF="node110.html">
<LINK REL="up" HREF="node110.html">
<LINK REL="next" HREF="node112.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1940"
 HREF="node112.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1936"
 HREF="node110.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1930"
 HREF="node110.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1938"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1939"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1941"
 HREF="node112.html">FITS data-types and extensions</A>
<B> Up:</B> <A NAME="tex2html1937"
 HREF="node110.html">FITS Format</A>
<B> Previous:</B> <A NAME="tex2html1931"
 HREF="node110.html">FITS Format</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001111000000000000000">&#160;</A>
<A NAME="ch07:structure-fits-files">&#160;</A>
<BR>
Structure of FITS files
</H2>
A FITS file contains a sequence of logical header/data units (HDU)
which all start with a set of header records describing the following
data records. The logical record length of a FITS file is always 2880
bytes of 8 bits.  Both header and data sections start in a new logical
record. FITS headers are encoded in ASCII as 80 character card images
each starting with an 8 character keyword defining the type of
information contained on the card. The card images follow each other
directly without any end-of-line character which means that many
standard text processing tools may have problems.  Values of
parameters are decoded using standard FORTRAN-77 rules.  They
describe in detail the data following the header records.  Since a
single FITS file may have many HDU's each corresponding to a data set
(<I>e.g.</I> an image or a table), the translation of it may produce
several result frames. After the last HDU in the file additional
records may exist.

<P>
The basic FITS paper [<A
 HREF="node126.html#fits:81">1</A>] specified both a logical and
physical record length of 2880 bytes. The increasing volume of data
and higher recording densities made this physical record size
inefficient. To increase storage efficiency and make use of new
recording media such as optical disks and helical scan devices, the
FITS standard was extended to allow physical blocking factors
different from one [<A
 HREF="node126.html#fits:88">3</A>]. The allowed range of blocking
factors is explicitly defined for a given media. For most tape media,
factors between 1 and 10 are allowed giving a maximum physical block
length of 28800 bytes.  Each file terminates with a tape-mark, and the
last file on tape terminates with a double tape-mark <I>i.e.</I> end of
information.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1940"
 HREF="node112.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1936"
 HREF="node110.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1930"
 HREF="node110.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1938"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="icons.gif/contents_motif.gif"></A> 
<A NAME="tex2html1939"
 HREF="node216.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
 SRC="icons.gif/index_motif.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1941"
 HREF="node112.html">FITS data-types and extensions</A>
<B> Up:</B> <A NAME="tex2html1937"
 HREF="node110.html">FITS Format</A>
<B> Previous:</B> <A NAME="tex2html1931"
 HREF="node110.html">FITS Format</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Petra Nass</I>
<BR><I>1999-06-09</I>
</ADDRESS>
</BODY>
</HTML>