next up previous contents
Next: General Operations on SU Up: Editing SU Data Previous: SUVCAT and CAT -   Contents

SUVLENGTH - Adjust Variable Length Traces to a Common Number of Samples

Sometimes the data consists of traces which have different numbers of samples on each trace. The program ``suvlength'' We can construct an example of this with suplane data

% suplane nt=64 > data1.su
% suplane nt=32 > data2.su
% cat data1.su data2.su > data3.su
Attempts to use any SU program on the resulting file ``data3.su'' will probably result in failure, because most SU programs require that the number of samples be constant on a panel of data. Applying ``suvlength'' fixes this problem
% suvlength ns=64 < data3.su > data4.su
% suxwigb < data4.su title="Test of suvlength"  &
by making all of the traces the same length.



John Stockwell 2007-04-10