| binpairs | noao.nproto | binpairs |
binpairs -- Bin pairs of (x,y) points in log separation
binpairs file1 file2 rmin rmax nbins
The (x,y) points in the specified files are paired and the number of pairs in each bin of log separation is computed and output. The two files may be the same. There are nbins separation bins between the separations rmin and rmax . If the verbose parameter is yes then progress information is printed on the standard error output at intervals of 5% of the time. The output consists of the lower limit of the separation bin, the number of pairs in the bin, the number of pairs divided by the total number of pairs, and the annular area of the bin.
This task is useful for computing two point correlation functions.
cl> binpairs data1 data2 .01 1 20 >> result
or
cl> binpairs data data .01 1 20 >> result