📄 suop.su.main
字号:
SUOP - do unary arithmetic operation on segys suop <stdin >stdout op=abs Required parameters: none Optional parameter: op=abs operation flag abs : absolute value avg : remove average value ssqrt : signed square root sqr : square ssqr : signed square sgn : signum function exp : exponentiate slog : signed natural log slog10: signed common log cos : cosine sin : sine tan : tangent cosh : hyperbolic cosine sinh : hyperbolic sine tanh : hyperbolic tangent norm : divide trace by Max. Value db : 20 * slog10 (data) neg : negate value posonly : pass only positive values negonly : pass only negative values sum : running sum trace integration diff : running diff trace differentiation refl : (v[i+1] - v[i])/(v[i+1] + v[i]) mod2pi : modulo 2 pi inv : inverse nop : no operation Note: Binary ops are provided by suop2. Operations inv, slog and slog10 are "punctuated", ", meaning that if, the input contains 0 values, 0 values are returned. ", For file operations on non-SU format binary files use: farith Credits: CWP: Shuki, Jack Toralf Foerster: norm and db operations, 10/95. Notes: If efficiency becomes important consider inverting main loop and repeating operation code within the branches of the switch. Note on db option. The following are equivalent: ... | sufft | suamp | suop op=norm | suop op=slog10 |\ sugain scale=20| suxgraph style=normal ... | sufft | suamp | suop op=db | suxgraph style=normal
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -