logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fitsinfo - Print a summary of the HDUs in one or more FITS files(s)

Description

fitsinfo  is  a command-line script based on astropy.io.fits for printing a summary of the HDUs in one or
       more FITS files(s) to the standard output.

Examples

       Example usage of fitsinfo:

       1. Print a summary of the HDUs in a FITS file:

           $ fitsinfo filename.fits

           Filename: filename.fits
           No.    Name         Type      Cards   Dimensions   Format
           0    PRIMARY     PrimaryHDU     138   ()
           1    SCI         ImageHDU        61   (800, 800)   int16
           2    SCI         ImageHDU        61   (800, 800)   int16
           3    SCI         ImageHDU        61   (800, 800)   int16
           4    SCI         ImageHDU        61   (800, 800)   int16

       2. Print a summary of HDUs of all the FITS files in the current directory:

           $ fitsinfo *.fits

fitsdiff                                           April 2015                                        fitsinfo(1)

Name

       fitsinfo - Print a summary of the HDUs in one or more FITS files(s)

Synopsis

fitsinfofilename [filename ...]

See Also