HEASARC CFITSIO 3.4 Software Library User's Reference Guide

HEASARC CFITSIO 3.4 reference guide for C programmers, covering library creation, FITS programming guidelines, API routines, and file access.


HEASARC CFITSIO 3.4 Software Library User's Reference Guide - cover page
Brand
HEASARC
Category
Programming
Document type
Programming Manual
Language
English
Pages
198
File format
PDF
File size
1 MB
Published
16 November, 2026
Updated
16 November, 2026
MD5 checksum
9390211C91DF3CC9B8CA5F604DBD788E

About this manual

CFITSIO is a machine-independent library of routines for reading and writing data files in the FITS format. It is written in ANSI C and can read and write FITS ASCII tables, binary tables, and IMAGE extensions; the guide covers version 3.4.

The HEASARC guide explains how to build and test the library, gives programming guidelines, and documents basic and specialized interface routines. It also covers the iterator function, World Coordinate System routines, hierarchical grouping, extended file name syntax, and template files.

What's inside

  • Introduction
  • Creating the CFITSIO Library
  • A FITS Primer
  • Programming Guidelines
  • Basic CFITSIO Interface Routines
  • The CFITSIO Iterator Function
  • World Coordinate System Routines
  • Hierarchical Grouping Routines
  • Extended File Name Syntax
  • Template Files

Specifications

Version3.4
Programming languageANSI C
Supported FITS extensionsASCII tables (TABLE), Binary tables (BINTABLE), IMAGE extensions
Platform supportMost commonly used computers and workstations
Fortran interfaceFortran callable wrapper routines

Frequently asked questions

What is CFITSIO?

CFITSIO is a machine-independent library of routines for reading and writing data files in the FITS format. The guide states that it is written in ANSI C.

What programming language is CFITSIO written in?

CFITSIO is written in ANSI C. The text also notes that it provides an interface for accessing FITS files.

Can Fortran programs call CFITSIO?

Yes. CFITSIO contains a set of Fortran callable wrapper routines that allow Fortran programs to call CFITSIO routines.

Which FITS extensions can CFITSIO read and write?

CFITSIO can read and write ASCII tables (TABLE), binary tables (BINTABLE), and IMAGE extensions.

Download PDF (1 MB)