HTML automatically generated with rman
Table of Contents

Name

rawfits - raw image to fits format conversion

Synopsis

rawfits [parameter=value]

Description

Converts raw data to fits file. The user needs to know all the details on the raw format. Some examples on common "raw" formats are given in the EXAMPLES section below.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
Input raw image.
out=
Output fits file.
bitpix=
Bitpix of the raw image. Valid are 8, 16, 32, -32, -64. No default.
naxis=
Size of image (naxis1,naxis2). If naxis2 absent, it will be taken as naxis1. No default.
skip=
Number of bytes to skip before data . Default: 0

Examples

The UMD "img" format is a 384 by 576 INTEGER*2 image, with a 160 byte header. It converts as follows:
    rawfits a.img a.fits bitpix=16 naxis=384,576 skip=160

Bugs

Writes bogus DATAMIN/DATAMAX header entries, and the entry for BSCALE/BZERO is not always appropriate either.

The keyword swap=t|f should be added for convenience.

See Also

ccdfits(1NEMO)

Author

Peter Teuben

Update History


11-Feb-99    V1.0 Created for A310 as alternative to a J routine       PJT


Table of Contents