9 List manipulation utilities — PISACUT & PISAMATCH

PISACUT separates a file of variables into two. The separation is performed by thresholding the values in a single column. The routine works on any formatted data files, applying a threshold to one of the variables. File entries with the selected variable value above or below the threshold are written out to separate files. It is intended for use in separating any PISA package results files.

PISAMATCH matches the first column of values (the object indices) of two input files. When a match is located between the indices the complete entry in the second file is copied to the output file. The routine is primarily intended for matching the indices output from PISACUT or PISAKNN to those of the original PISAFIND data file, thus the new classes can have their properties analysed, or can be displayed using PISAPLOT.