HEADER MANIPULATION |
Top Previous Next |
|
Modification of traces headers
This filter module edits and modifies the trace headers. In this module the user can to perform many mathematical operations to modify the trace headers. can be useful in doing all sorts of mathematical operations by means of mathematical expressions to change/manipulate the trace headers. User can use any of the following mathematical operations to create their own equation/expression. g-Platform uses following mathematical expressions in designing your equation: •Mathematical operators (+, -, *, /, %, ^); •Functions (min, max, avg, sum, abs, ceil, floor, round, roundn, exp, log, log10, logn, root, sqrt, clamp, inrange); •Trigonometry (sin, cos, tan, acos, asin, atan, atan2, cosh, cot, csc, sec, sinh, tanh, d2r, r2d, d2g, g2d, hyp); •Equalities, Inequalities (=, ==, <>, !=, <, <=, >, >=); •Assignment (:=, +=, -=, *=, /=); •Boolean logic (and, nand, nor, not, or, xor, xnor, mand, mor); •Control Structures (if-then-else, ternary conditional, switch case); •Loop Structures (while loop, for loop, repeat until loop, break, continue).
No actions
Trace header input - traces header vector.
Trace headers - table of all traces headers, where user can apply any mathematical expressions. Advanced: Unsafe - module does not create a copy of trace headers in case saving of memory. Another option is header replacement in case of using the following modules sequence: Read SEG-Y traces -> Header manipulation -> Save SEG-Y, i.e. get changing traces header in gather; Always rebuild trace vector - use in case of changing amount of source, receiver, CDP, etc. Usually module do it automatically. SurveyID - Survey name - creating survey identifications.
Number of threads - perform calculation in the multi-thread mode.
Modified trace headers - traces header vector after modification (updated).
Usual workflow with Header manipulation module:
Fig.1 Module parameters.
In the table we can add user attributes (ex. MY_ATTR) and remove them, write mathematical expressions for headers calculation:
Fig.2 Table of traces headers
Headers before modifications:
Headers after modifications:
Fig.3 Example of trace header modification.
|