NAME

sub - to subtract image files

SYNOPSIS

sub file1 [file2] [const=] [outfile=] [bitpix=] [factor=]

DESCRIPTION

This routine computes the difference of the data in file1.fits and (if specified) file2. A constant offset can be specified optionally. The computed difference is stored in file1.fits.

The number of rows and columns in file1.fits must be equal to those in file2.fits.

The subtracted image is put in file1.fits unless overridden by the outfile= option.

OPTIONS

const= subtracts the numerical constant specified.

factor= mutiplies file2 by factor before subtracting.

EXAMPLE

sub alphalyr dark factor=.7
-subtracts the 0.7*dark frame dark.fits from the file alphalyr.fits. storing the difference in alphalyr.fits.

sub alphalyr const=45
- subtracts 45 from each pixel in file alphalyr.fits.


XVista index