next up previous contents
Next: Transform and Filtering Operations Up: General Operations on SU Previous: SUOP - Unary Arithmetic   Contents

SUOP2 - Binary Operations with SU data

To perform operations two SU datasets, the progam ``suop2'' has been provided. Some of the opperations supported are to compute the

The first 4 options assume that there are the same number of traces in each SU datafile. In the last 4, it is assumed that there is only a single trace in the second file.

From the selfdoc of ``suop2'' please note that there are 8 equivalent shell scripts commands which perform these operations

...
 	susum file1 file2 == suop2 file1 file2 op=sum			
 	sudiff file1 file2 == suop2 file1 file2 op=diff			
 	suprod file1 file2 == suop2 file1 file2 op=prod			
 	suquo  file1 file2 == suop2 file1 file2 op=quo			

 For:  panel "op" trace  operations: 				
 	suptsum  file1 file2 == suop2 file1 file2 op=ptsum		
 	suptdiff file1 file2 == suop2 file1 file2 op=ptdiff		
 	suptprod file1 file2 == suop2 file1 file2 op=ptprod		
 	suptquo  file1 file2 == suop2 file1 file2 op=ptquo		
...
All of these call ``suop2'' to perform the computation.

Try the following. Make two files of SU data with ``suplane''

% suplane > junk1.su
% suxwigb < junk1.su | suxwigb title="Data without noise" &
% suplane | suaddnoise > junk2.su
% suxwigb < junk2.su  | suxwigb title="Data with noise added" &
% suop2 junk2.su junk1.su op=diff | suxwigb title="difference" &
Note, that the filenames must appear before the ``op=.''


next up previous contents
Next: Transform and Filtering Operations Up: General Operations on SU Previous: SUOP - Unary Arithmetic   Contents
John Stockwell 2007-04-10