Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocities in time, or interval velocity in either depth or time. The times are always TWT, in SI units (seconds). The depths units correspond to SI().depthsInFeet(), and are TVDSS depths (0 at sea-level, not at SRD, positive below sea-level and increasing downwards.
More...
|
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) |
|
|
static float | convertTo (const float *dpths, const float *times, int sz, float z, bool targetistime) |
|
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocities in time, or interval velocity in either depth or time. The times are always TWT, in SI units (seconds). The depths units correspond to SI().depthsInFeet(), and are TVDSS depths (0 at sea-level, not at SRD, positive below sea-level and increasing downwards.
<>
◆ TimeDepthModel() [1/2]
TimeDepthModel::TimeDepthModel |
( |
| ) |
|
◆ TimeDepthModel() [2/2]
◆ ~TimeDepthModel()
virtual TimeDepthModel::~TimeDepthModel |
( |
| ) |
|
|
virtual |
◆ convertTo()
static float TimeDepthModel::convertTo |
( |
const float * |
dpths, |
|
|
const float * |
times, |
|
|
int |
sz, |
|
|
float |
z, |
|
|
bool |
targetistime |
|
) |
| |
|
staticprotected |
◆ errMsg()
const char* TimeDepthModel::errMsg |
( |
| ) |
const |
◆ forceTimes()
◆ getDepth() [1/3]
static float TimeDepthModel::getDepth |
( |
const float * |
dpths, |
|
|
const float * |
times, |
|
|
int |
sz, |
|
|
float |
time |
|
) |
| |
|
static |
◆ getDepth() [2/3]
float TimeDepthModel::getDepth |
( |
float |
time | ) |
const |
◆ getDepth() [3/3]
float TimeDepthModel::getDepth |
( |
int |
idx | ) |
const |
◆ getDepths() [1/2]
float* TimeDepthModel::getDepths |
( |
| ) |
|
|
inlineprotected |
◆ getDepths() [2/2]
const float* TimeDepthModel::getDepths |
( |
| ) |
const |
|
inline |
◆ getFirstTime()
float TimeDepthModel::getFirstTime |
( |
| ) |
const |
◆ getLastTime()
float TimeDepthModel::getLastTime |
( |
| ) |
const |
◆ getTime() [1/3]
static float TimeDepthModel::getTime |
( |
const float * |
dpths, |
|
|
const float * |
times, |
|
|
int |
sz, |
|
|
float |
depth |
|
) |
| |
|
static |
◆ getTime() [2/3]
float TimeDepthModel::getTime |
( |
float |
depth | ) |
const |
◆ getTime() [3/3]
float TimeDepthModel::getTime |
( |
int |
idx | ) |
const |
◆ getTimes() [1/2]
float* TimeDepthModel::getTimes |
( |
| ) |
|
|
inlineprotected |
◆ getTimes() [2/2]
const float* TimeDepthModel::getTimes |
( |
| ) |
const |
|
inline |
◆ getVelocity() [1/2]
static float TimeDepthModel::getVelocity |
( |
const float * |
dpths, |
|
|
const float * |
times, |
|
|
int |
sz, |
|
|
float |
depth |
|
) |
| |
|
static |
◆ getVelocity() [2/2]
float TimeDepthModel::getVelocity |
( |
float |
depth | ) |
const |
◆ isOK()
virtual bool TimeDepthModel::isOK |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ setAllVals()
void TimeDepthModel::setAllVals |
( |
float * |
dpths, |
|
|
float * |
times, |
|
|
int |
sz |
|
) |
| |
|
protected |
◆ setEmpty()
void TimeDepthModel::setEmpty |
( |
| ) |
|
|
protected |
◆ setModel()
bool TimeDepthModel::setModel |
( |
const float * |
dpths, |
|
|
const float * |
times, |
|
|
int |
sz |
|
) |
| |
◆ setSize()
void TimeDepthModel::setSize |
( |
int |
sz | ) |
|
|
inlineprotected |
◆ setVals()
void TimeDepthModel::setVals |
( |
float * |
, |
|
|
bool |
isdepth, |
|
|
bool |
becomesmine = true |
|
) |
| |
|
protected |
◆ size()
int TimeDepthModel::size |
( |
| ) |
const |
|
inline |
◆ RayTracer1D
◆ ReflCalc1D
◆ TimeDepthModelSet
◆ depths_
float* TimeDepthModel::depths_ = nullptr |
|
private |
◆ errmsg_
◆ owndepths_
bool TimeDepthModel::owndepths_ = true |
|
private |
◆ sz_
int TimeDepthModel::sz_ = 0 |
|
private |
◆ times_
float* TimeDepthModel::times_ = nullptr |
|
private |