next up previous contents
Next: Viewing SU Data in Up: Setting, Editing, and Viewing Previous: SUCHW - Change (or   Contents

SUEDIT and SUXEDIT - Edit the Header Words in SU Data

Finally, it may be that you wish to examine, and possibly change just few headers. For this purpose, we have suedit and suxedit. the SU editing programs are executed via:

% suedit diskfile  (open for possible header modification if writable)	
% suedit <diskfile  (open read only)					
and permit the interactive viewing and editing of the header fields.

For example, making test data with suplane

% suplane > data.su
% suedit  data.su
yields the following
32 traces in input file
 tracl=32 tracr=32 offset=400 ns=64 dt=4000
>                          <------- prompt for interactive use

The commands that may be used interactively in suedit and suxedit may be seen by typing a question mark (?) at the prompt. For example

32 traces in input file
 tracl=32 tracr=32 offset=400 ns=64 dt=4000
> ?

 n              read in trace #n
 <CR>           step
 +              next trace;   step -> +1
 -              prev trace;   step -> -1
 dN             adv N traces; step -> N
 %              percentiles
 r              ranks
 p [n1 [n2]]    tabplot
 ! key=val      modify field
 ?              print this file
 q              quit
>
This program allows the user to view traces as a tabplot of the data sample values or view or change individual header values

The program suxedit is similar to suedit, with the addition of X-windows graphics for plotting traces

% suxedit diskfile  (open for possible header modification if writable)	
% suxedit <diskfile  (open read only)					
% suxedit data.su
32 traces in input file
 tracl=32 tracr=32 offset=400 delrt=5 ns=64 dt=4000

> ?

 n              read in trace #n
 <CR>           step
 +              next trace;   step -> +1
 -              prev trace;   step -> -1
 dN             adv N traces; step -> N
 %              percentiles
 r              ranks
 p [n1 [n2]]    tabplot
 g [tr1 tr2] ["opts"]   wiggle plot
 f              wig plot Fourier Transf
 ! key=val      modify field
 ?              print this file
 q              quit
Again, the options of this program are largely self-explanatory. Please note that the selfdoc is more informative than the help menu given by typing the question mark ``?.''


next up previous contents
Next: Viewing SU Data in Up: Setting, Editing, and Viewing Previous: SUCHW - Change (or   Contents
John Stockwell 2007-04-10