NAME

cfits - convert columnar data to image file

SYNOPSIS

cfits [nrow=] [ncol=] [xc=] [yc=] [step=] [increment=] [outfile=]

DESCRIPTION

cfits takes columnar data and converts into an image. Two columns of x, y coordinates are sent into standard input. The x and y values are shifted and scaled to pixel coordinates by the xc,yc and step options. The following formulae are used to convert y--> row and x-->col.
int row=(int)((y-yc)/step+0.5)+nrow/2;
int col=(int)((x-xc)/step+0.5)+ncol/2;
For each row read, the appropriate pixel will be incremented, building up an image.

Columns outide of the range are ignored.

OPTION

increment= sets the the row increment value (default:256).

ncol= sets the number of columns in the image (default:256).

nrow= sets the number of rows in the image (default:256).

outfile= sets the output FITs filename (default:'cfits').

step= x or y scale to pixel (default:1).

xc= is subtracted from x (default:0).

yc= is subtracted from y (default:0).


XVista index