man-pages/man1/fitstopnm.1.html
2021-03-31 01:06:50 +01:00

136 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of fitstopnm</TITLE>
</HEAD><BODY>
<H1>fitstopnm</H1>
Section: User Commands (1)<BR>Updated: 20 September 89<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
fitstopnm - convert a FITS file into a portable anymap
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>fitstopnm</B>
[<B>-image</B>
<I>N</I>]
[<B>-noraw</B>]
[<B>-scanmax</B>]
[<B>-printmax</B>]
[<B>-min</B>
<I>f</I>]
[<B>-max</B>
<I>f</I>]
[<I>FITSfile</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a FITS file as input.
<A NAME="ixAAC"></A>
Produces a portable pixmap if the FITS file consists of 3 image planes
(NAXIS = 3 and NAXIS3 = 3), a portable graymap if the FITS file
consists of 2 image planes (NAXIS = 2), or whenever the
<B>-image </B>
flag is specified.
The results may need to be flipped top for bottom; if so, just
pipe the output through
<B>pnmflip -tb.</B>
<A NAME="ixAAD"></A>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
The
<B>-image</B>
option is for FITS files with three axes.
The assumption is that the third axis is for multiple images,
and this option lets you select which one you want.
<P>
Flags
<B>-min</B>
and
<B>-max </B>
can be used to override the min and max values as read from the FITS
header or the image data if no DATAMIN and DATAMAX keywords are found.
Flag
<B>-scanmax</B>
can be used to force the program to scan the data even when DATAMIN
and DATAMAX are found in the header. If
<B>-printmax </B>
is specified, the program will just print the min and max values and
quit.
Flag
<B>-noraw</B>
can be used to force
the program to produce an ASCII portable anymap.
<P>
The program will tell what kind of anymap is writing.
All flags can be abbreviated to their shortest unique prefix.
<A NAME="lbAF">&nbsp;</A>
<H2>REFERENCES</H2>
FITS stands for Flexible Image Transport System. A full description
can be found in Astronomy &amp; Astrophysics Supplement Series 44 (1981),
page 363.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pnmtofits">pnmtofits</A>(1), <A HREF="/cgi-bin/man/man2html?5+pgm">pgm</A>(5), <A HREF="/cgi-bin/man/man2html?1+pnmflip">pnmflip</A>(1)
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1989 by Jef Poskanzer, with modifications by
Daniel Briggs (<A HREF="mailto:dbriggs@nrao.edu">dbriggs@nrao.edu</A>) and Alberto
Accomazzi (<A HREF="mailto:alberto@cfa.harvard.edu">alberto@cfa.harvard.edu</A>).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="5"><A HREF="#lbAF">REFERENCES</A><DD>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="7"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:12 GMT, March 31, 2021
</BODY>
</HTML>