Logo ROOT  
Reference Guide
FITS files interface tutorials

Examples showing the FITS file interface.

Files

file  FITS_tutorial1.C
  View in nbviewer Open in SWAN Open a FITS file and retrieve the first plane of the image array as a TImage object
 
file  FITS_tutorial2.C
  View in nbviewer Open in SWAN Open a FITS file whose primary array represents a spectrum (flux vs wavelength).
 
file  FITS_tutorial3.C
  View in nbviewer Open in SWAN Open a FITS file and retrieve the first plane of the image array as a TImage object.
 
file  FITS_tutorial4.C
  View in nbviewer Open in SWAN Open a FITS file whose primary array represents a spectrum (flux vs wavelength).
 
file  FITS_tutorial5.C
  View in nbviewer Open in SWAN Open a FITS file whose primary array represents a spectrum (flux vs wavelength)
 
file  FITS_tutorial6.C
  View in nbviewer Open in SWAN Open a FITS file whose primary array represents a spectrum table (flux vs wavelength) and dump its columns
 
file  FITS_tutorial7.C
  View in nbviewer Open in SWAN Open a FITS file that contains a catalog of astronomical objects and dump some of its columns
 
file  FITS_tutorial8.C
  View in nbviewer Open in SWAN Open a FITS file with columns containing variable-length arrays.