To perform operations two SU datasets, the progam ``suop2'' has been provided. Some of the opperations supported are to compute the
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=.''