procedure writefits

Writes the array X to disk as a FITS file with specified filename. If the optional argument bitpix is given, the following can be used: bitpix = 32: signed long integer (32 bits per pixel) bitpix = 16: unsigned short integer (16 bits per pixel) bitpix = 8: unsigned char integer ( 8 bits per pixel) bitpix = -32: single precision floating point (32 bits per pixel) bitpix = -64: double precicion floating point (64 pits per pixel) bitpix defaults to -32.

Syntax
writefits FILENAME, X [, bitpix]

Arguments
FILENAME:   A string
X:   A matrix.
bitpix:   An integer number.