File: fitsinfo.1

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (31 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH fitsinfo 1 "April 2015" "fitsdiff" "astropy 1.1"
.SH NAME
fitsinfo \- Print a summary of the HDUs in one or more FITS files(s)
.SH SYNOPSIS
.B fitsinfo
\fIfilename\fR [\fIfilename\fR ...]
.SH DESCRIPTION
.PP
\fBfitsinfo\fR 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.
.SH EXAMPLES
.PP
Example usage of \fBfitsinfo\fR:
.PP
1. Print a summary of the HDUs in a FITS file:
.PP
    $ 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
.PP
2. Print a summary of HDUs of all the FITS files in the current directory:
.PP
    $ fitsinfo *.fits
.