XVista manual page

NAME

window - makes an image file a sub-section of itself

SYNOPSIS

window file1 box= [outfile=]

DESCRIPTION

This routine replaces the file in the command line with only those rows and columns specified box.

If outfile is used, a new image, consisting only of the rows and columns within the box, is created and called by the given name; in this case, the image in `file1.fts' is left unmodified. The fits header is copied and NAXIS1 and NAXIS2 are modified to reflect the new size.

EXAMPLE

window alphalyr box=3 - cuts the file `alphalyr.fts' down to contain only those rows and columns specified in box 3. All data outside of the box is deleted.

window vega box=2 outfile=newvega - creates a new image file called `newvega.fts' which has all the data from `vega' inside box 2. The file `vega.fts' is not changed.

BUGS

The FITS header is not updated to tell you that the image has been cut down, and to record the location of the cut in say CCDSEC.