sfheadermath (4.2-git)
index
system/seismic/Mheadermath.c
Documentation
Mathematical operations, possibly on header keys.

 
Synopsis
        sfheadermath < in.rsf > out.rsf segy=y nkey=-1 memsize=sf_memsize() key= output=

Known functions for float data:
cos, sin, tan, acos, asin, atan,
cosh, sinh, tanh, acosh, asinh, atanh,
exp, log, sqrt, abs, erf, erfc, sign

Known functions for int data: sign, abs

See also sfmath.

An addition operation can be performed by sfadd.

 
Parameters
       
 
string key=
key to replace
 
int memsize=sf_memsize()
Max amount of RAM (in Mb) to be used
 
int nkey=-1
number of key to replace
 
string output=
Describes the output in a mathematical notation.
 
bool segy=y [y/n]
if SEGY headers