CONTENTS
i
Contents
1 Introduction
1
1.1 Brief History of FITS . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1.2 Version History of this Document . . . . . . . . . . . . . . . . . . . . . .
4
1.3 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
2 Definitions, Acronyms, and Symbols
7
2.1 Conventions used in this document . . . . . . . . . . . . . . . . . . . . .
7
2.2 Defined Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
3 FITS File Organization
13
3.1 Overall File Structure . . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
13
3.2 Individual FITS Structures . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
13
3.3 Primary Header and Data Unit . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
14
3.3.1 Primary Header . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
14
3.3.2 Primary Data Array . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
14
3.4 Extensions . . . . . . . . . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
15
3.4.1 Requirements for Conforming Extensions
.
.
.
.
.
.
.
.
.
.
.
.
.
15
3.4.2 Standard Extensions . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
16
3.4.3 Order of Extensions . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
16
3.5 Special Records (Restricted Use) . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
16
3.6 Physical Blocking . . . . . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
16
3.6.1 Bitstream Devices . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
16
3.6.2 Sequential Media . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
17
3.7 Restrictions on Changes . . . . . . .
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
17
4 Headers
19
4.1 Keyword Records . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
4.1.1 Syntax . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
4.1.2 Components . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
4.2 Value . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
20
4.2.1 Character String
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
21
FITS Standard