Sets an SU header (defined by key1) using up to two other SU headers
suchw < stdin key1= key2= key3= a= b= c= d= > stdout.
key1 = [ a + b * key2 + c * key3 ] / d
defaults :
a=0
b=1
c=0
d=1
Example :
1. suchw < filein.su key1=gx key2=sx key3=offset c=1 > fileout.su
This example sets gx by simply summing the sx and offset header values
See also :