next up previous contents
Next: Trace Header Manipulation Up: Data Format conversion Previous: TRANSP - Transposing Binary   Contents

FARITH - Performs simple arithmetic on binary data.

It is often necessary to perform arithmetical operations on files, or between two files of binary data. The program farith has been provided for many of these tasks.

Some of the tasks for single files supported by farith include

Binary operations (operations involving two files) include value by value Seismic operations (which assume files consist of wavespeeds) include Examples of using farith are
% farith in=data.binary op=pinv out=data.out.bin
% farith in=data1.binary in2=data2.binary op=add > data.out2.bin



John Stockwell 2007-04-10