Search code examples
subtraction

subtracting 2 seismic unix files


I hope that you are familiar with Seismic Unix (su) for displaying wiggle. I've tried but can't find a way of subtracting the values in these two files.

If you have been working with Seismic Unix and have any ideas, would you please give a recommendation ?


Solution

  • I looked for a cross-post on the Earthscience stackexchange but didn't see it.

    Anyway, you have two ways to subtract two files, assuming they are identical with respect to number of traces, samples per trace and sampling rate:

    sudiff file1.su file2.su > diff.su
    

    or:

    suop2 file1.su file2.su op=diff > diff.su
    

    They are equivalent.