SoSeismicComputeInstPhase Method (SoBufferObject, SoBufferObject, Int32, Int32) |
Compute instantaneous phase attribute on a set of seismic traces.
Namespace: OIV.Inventor.Algorithms
public int ComputeInstPhase( SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, int traceSize, int numTrace )
Should contain the real part of the complex trace (original trace data).
should contain the imaginary part of the complex trace (Hilbert transform of trace data). Note: targetBufferObject will be overwritten with the result values.
Number of samples in each trace (must be same for all traces).
Number of traces.
phase(t) = arctan( im(t)/re(t))
This function can be redefined to support a different type of OIV.Inventor.Devices.SoBufferObject.
By default the OIV.Inventor.Devices.SoCpuBufferObject CPU version will be used.
Data stored in buffers must be of type float.