Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmtofits(1) [minix man page]

pnmtofits(1)                                                  General Commands Manual                                                 pnmtofits(1)

NAME
pnmtofits - convert a portable anymap into FITS format SYNOPSIS
pnmtofits [-max f] [-min f] [pnmfile] DESCRIPTION
Reads a portable anymap as input. Produces a FITS (Flexible Image Transport System) file as output. The resolution of the output file is either 8 bits/pixel, or 16 bits/pixel, depending on the value of maxval in the input file. If the input file is a portable bitmap or a portable graymap, the output file consists of a single plane image (NAXIS = 2). If instead the input file is a portable pixmap, the output file will consist of a three-plane image (NAXIS = 3, NAXIS3 = 3). A full description of the FITS format can be found in Astronomy & Astro- physics Supplement Series 44 (1981), page 363. OPTIONS
Flags -min and -max can be used to set DATAMAX, DATAMIN, BSCALE and BZERO in the FITS header, but do not cause the data to be rescaled. BUGS
FITS uses signed data, and this program outputs unsigned values. If you run into this problem, you might use "-min 32768". SEE ALSO
fitstopnm(1), pgm(5) AUTHOR
Copyright (C) 1989 by Wilson H. Bent (whb@hoh-2.att.com), with modifications by Alberto Accomazzi (alberto@cfa.harvard.edu). 5 Dec 1992 pnmtofits(1)

Check Out this Related Man Page

iofits(1)						      General Commands Manual							 iofits(1)

NAME
iofits - FITS data format conversion (pixel depth) SYNOPSIS
iofits [options] <in_fits> <out_fits> <depth> DESCRIPTION
iofits converts FITS files of any pixel depth to another pixel depth (bits per pixel). Depth is given as in the FITS norm : o 8 bits per pixel, unsigned. o 16 bits per pixel, signed o 32 bits per pixel, signed o -32 IEEE floating point o -64 IEEE double precision floating point OPTIONS
-v Verbose mode. -M megs Memory handling. To avoid saturate memory for huge cubes, this parameter specifies the maximum amount of memory to use before swap- ping data to disk. The amount is given in Megabytes. (1Meg = 1,048,576 Bytes) The process time is then considerably slowed down. Default value is 50 megs. FILES
Input/output files shall all comply with FITS format. The original FITS header of the input FITS file is conserved along, except for the following keywords: NAXIS, NAXISn, BITPIX, BSCALE, BZERO, which are related to the newly created file. HISTORY keywords are appended to the FITS header to indicate the eclipse process modifications, together with the command line which was used to generate the file. SEE ALSO
average, filt, deadpix BUGS
In general, decreasing the resolution in number of bits per pixel almost always means loss of precision. No rescaling is done on the data, use this command with care! 25 Feb 1997 iofits(1)
Man Page

2 More Discussions You Might Find Interesting

1. Advertise with Us

FITS - looking for AIX Admin in Vienna, VA (USA)

FITS is a computer consulting company based in Maryland. We are currently in need for two Sr. AIX Administrators. Must be a US citizen. Please send resume to mmalik@FitsInc.Net or contact 301-667-0991. Pay is excellent. Note: Ad approved until November 14, 2009 (0 Replies)
Discussion started by: mam0142
0 Replies

2. AIX

Read input data within a specified period of time

Hi All, I am working on a script which requires an input from user within one 1 min. So if the user gives the required input within 1 min., it will execute on the basis of input provided by the user.Other wise it will execute on a default value(hard coded inside the script). Now, I am... (19 Replies)
Discussion started by: rajsharma
19 Replies