DESCRIPTION
XVista is a collection of programs that run on UNIX machines under X-windows
for the display and reduction of astronomical images. It has evolved from
PCVISTA (Treffers and Richmond, Pub. Astr. Soc. Pac. 101, pp. 725-730) which
was in turn designed to be a somewhat compatible subset of the VISTA program
developed at U.C. Santa Cruz and Berkeley for the reduction of CCD
data.
We also have alphabetic listing.
IMAGE ARITHMETIC
- add -add images together
- sub -subtract images
- mul -multiply images
- div -divide images
DATA DISPLAY
- box -display box on tv images
- tv -display grey scale image on screen
- cursor -display data values at cursor position
- marks -display cross hairs on an image
- pfits -prints out image data on the screen
IMAGE STATISTICS
- centroid -calculates centroid of images
- hist -computes histograms
- mn -computes mean of images
- sky - computes sky (mode) level
PROCESSING
- bin -squashes an image
- bisky -removes sky gradients
- bw -convert color to black and white
- clip -replaces pixels outside a specified intensity range
- expand -makes an image bigger (opposite of bin)
- flip -changes orientation of image
- imshift -shifts image in rows and columns
- mash -generates spectra from image files into ASCII file
- median -creates median frame from several images
- rotate -rotates images
- rowcol -cuts rows or columns from data into an ASCII file
- smooth -convolves images
- window - cuts down images
- zap - cosmic ray removal
HEADER MANIPULATION
- header -displays or alter the FITS header
- pformat -displays keywords from FITS
MISCELLANEOUS
- boxshift -box manipulation functions
- cfits -converts columnar data to image
- blend -creates TIFF file
- implant -inserts an image into another image
(montage)
- pstar - generates artificial star images
- mplot -plot program for columnar data
- tomag -decimal to magnitude converter
- xplot -plot program for columnar data
FOURIER AND SAMPLING ROUTINES
- autocorr - autocorrelation computer
- boxcar -boxcar smoothing function
- derivative - derivative from columnar data
- fft1d - makes one dimensional FFTs of columns
- fft2d - makes two dimensional FFTs of images
- fold - coadds repetive data
- histcol - histogram column reader
- linefind -looks for spectral lines
- resample - make columnar data on uniform spacing
- sines - sine wave generator
- slope -prints out derivatives
STAR FINDING AND PHOTOMETRY
- astrom - determines world coordinate system
- blur - increases fwhm of bright stars
- listshift - displaces star lists
- match - finds offsets between star lists
- pare - removes nearby stars from star
- phot - photometry program (obsolete)
- spike -finds hot pixels in an image
- stars -finds stars in an image
ASTROMETRY
- toworld -converts row/col to RA/Dec
- fromworld -RA/Dec to row/col
- wcs -World Coordinate manipulator
ADDITIONAL KEYWORDS
Many of the commands have unlisted keywords:
- bitpix= change default output format to 32 or -32
- debug increase output drastically
- help display line displaying usage (used when no options are needed)
- verbose increase output somewhat
BOX SPECIFICATION
Many commands limit their effect over a region of the image.
These regions are defined using the box= keyword where there
value has the following format:
box=sr,sc,nr,nc
box=cr,cc,nr,nc,1
Where sr and sc are the starting row and starting column,
nr anr and nc are the number of rows and columns and
cr and cc are the center row and center columns.
Note the use of extra field (,1) that tells whether the starting
or center positions are used.
STAR FORMAT
Starlists are used by several programs.
They have a rather evolving format similar to
row= col= peak= fwhm= back= ellipse= name=
The row and columns are in pixel coordinates (1 based liked FITs),
the peak_height might be peak_totals in ADUs.
Lines prefaced with the '#' sign are ignored.
As second World format is
ra=ra(hh:mm:ss) dec=dec(dd:mm:ss) equinox_year mag=magnitude name=name
is also used.
DATA FORMAT
The image data are stored in disk files in
FITS
format, a commonly used
method of storing multi-dimensional data containing header information. A
description of the standard is given in Wells, Greisen, and Harten, Astron.
and Astrophys. Suppl. Ser, 44, 363
(1981).
The header contains information about the number of axes (always 2), the
numbers of rows and columns (NAXIS2 and NAXIS1 respectively) and the word
size.
Although FITS header variables such as the time and date of the observation
and the exposure time may be present, XVista makes little use of the header
data.
The header can be inspected by using the
header
command.
The data files usually have the four letter extension `.fits'.
This extension
will often be added by XVista commands and need not be typed in explicitly.
You can read files with different extensions by typing them
explicitly.
The extension can be overwritten, by setting the environment variable
FITS_EXTENSION.
Although internally most of the arithmetic is done as 32 bit floating point
variables, the
data are written as as 16 bit integers. The data are treated as
"signed" quantities ranging from +32767 to -32768.
The BZERO variable may be used to shift the origin but not
the range of the data.
Internally the data are indexed with the C convention of 0 based indexes, but
whenever they are output to the outside world they are converted to the
FITS standard 1 based index.
This is a very dangerous procedure and has hopefully been done correctly.
On most commands the symbol '-' can be used in place of the
input and output filename and the file will be redirected
to stdin and stdout respectively.
In this way pipes can be used.
BUILDING AND INSTALLATION
The code uses public domain code and requires some special programs and libraries.
For Ubuntu
cfitsio-dev
libcfitsio-dev
libgd-dev
libwcs7-dev
wcslib-dev
libgsl-dev
In addition the TELESCOPE environment variable should be set
to tell the name of the user to which the programs will be installed.
All the executables will be copied into ~($TELESCOPE)/bin when the
make install is executed.
Finally there are some miscellaneous programs that are needed by stars.
These can be provided upon request:
- stderr - to print to standard error
- getkey - isolate keyword/value
Calling index