[Debian-astro-commits] [python-astropy] 01/01: Add fitsinfo manpage
Ole Streicher
olebole at moszumanska.debian.org
Mon Nov 23 16:55:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch experimental
in repository python-astropy.
commit ab4db75f60f3487bca4f6bec4dbe145c304cc127
Author: Ole Streicher <olebole at debian.org>
Date: Mon Nov 23 17:54:03 2015 +0100
Add fitsinfo manpage
---
debian/astropy-utils.manpages | 1 +
debian/fitsinfo.1 | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/debian/astropy-utils.manpages b/debian/astropy-utils.manpages
index d6970ac..6a3e46c 100644
--- a/debian/astropy-utils.manpages
+++ b/debian/astropy-utils.manpages
@@ -2,6 +2,7 @@ debian/fits2bitmap.1
debian/fitscheck.1
debian/fitsdiff.1
debian/fitsheader.1
+debian/fitsinfo.1
debian/samp_hub.1
debian/volint.1
debian/wcslint.1
diff --git a/debian/fitsinfo.1 b/debian/fitsinfo.1
new file mode 100644
index 0000000..8b87dcb
--- /dev/null
+++ b/debian/fitsinfo.1
@@ -0,0 +1,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
+.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git
More information about the Debian-astro-commits
mailing list