Converts between time and depth given a model. It expects a valueseries, where unit of value should be SI unit. Scaler provides factor value in case the valueseries in non SI unit.
More...
|
| TimeDepthConverter () |
|
| ~TimeDepthConverter () |
|
bool | calcDepths (ValueSeries< float > &, int sz, const SamplingData< double > ×amp) const |
|
bool | calcTimes (ValueSeries< float > &, int sz, const SamplingData< double > &depthsamp) const |
|
bool | isOK () const override |
|
bool | setVelocityModel (const ValueSeries< float > &vels, int sz, const SamplingData< double > &sd, const VelocityDesc &, bool istime, const Scaler *scaler=nullptr) |
|
| TimeDepthModel () |
|
| TimeDepthModel (const TimeDepthModel &) |
|
virtual | ~TimeDepthModel () |
|
const char * | errMsg () const |
|
float | getDepth (float time) const |
|
float | getDepth (int idx) const |
|
const float * | getDepths () const |
|
float | getFirstTime () const |
|
float | getLastTime () const |
|
float | getTime (float depth) const |
|
float | getTime (int idx) const |
|
const float * | getTimes () const |
|
float | getVelocity (float depth) const |
|
TimeDepthModel & | operator= (const TimeDepthModel &) |
|
bool | setModel (const float *dpths, const float *times, int sz) |
|
int | size () const |
|
|
static bool | calcDepths (const ValueSeries< float > &vels, int velsz, const SamplingData< double > &, float *depths, const Scaler *scaler=nullptr) |
|
static bool | calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< double > ×, double *depths, const Scaler *scaler=nullptr) |
|
static mDeprecatedDef bool | calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > ×, float *depths) |
|
static bool | calcTimes (const ValueSeries< float > &vels, int velsz, const SamplingData< double > &, float *times, const Scaler *scaler=nullptr) |
|
static bool | calcTimes (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > &depth, float *times, const Scaler *scaler=nullptr) |
|
static bool | isVelocityDescUseable (const VelocityDesc &, bool velintime, uiString *errmsg=0) |
|
static float | getDepth (const float *dpths, const float *times, int sz, float time) |
|
static float | getTime (const float *dpths, const float *times, int sz, float depth) |
|
static float | getVelocity (const float *dpths, const float *times, int sz, float depth) |
|
Converts between time and depth given a model. It expects a valueseries, where unit of value should be SI unit. Scaler provides factor value in case the valueseries in non SI unit.
<>