OpendTect
7.0
|
Seismic trace. More...
Public Member Functions | |
SeisTrc (const SeisTrc &t) | |
SeisTrc (int ns=0, const DataCharacteristics &dc=DataCharacteristics()) | |
~SeisTrc () | |
void | convertToFPs (bool preserve_data=true) |
void | copyDataFrom (const SeisTrc &, int icomp=-1, bool forcefloats=false) |
icomp -1 (default) is all components More... | |
TraceData & | data () |
const TraceData & | data () const |
bool | dataPresent (float t) const |
float | endPos () const |
void | ensureNoUndefs (float withval=mUdf(float)) |
default is inter- and extrapolate More... | |
float | get (int idx, int icomp) const |
SeisTrc * | getExtendedTo (const ZGate &, bool usetrcvals=true) const |
float | getFirst (int icomp=0) const |
float | getLast (int icomp=0) const |
SeisTrc * | getRelTrc (const ZGate &, float sr=mUdf(float)) const |
float | getValue (float, int icomp) const |
bool | hasUndef (int icomp=-1) const |
SeisTrcInfo & | info () |
const SeisTrcInfo & | info () const |
const ValueSeriesInterpolator< float > & | interpolator () const |
bool | isEmpty () const |
bool | isNull (int icomp=-1) const |
bool | isUdf (int icomp=-1) const |
int | nearestSample (float pos) const |
int | nrComponents () const |
SeisTrc & | operator= (const SeisTrc &t) |
bool | reSize (int, bool copydata) |
void | reverse (int icomp=-1) |
SampleGate | sampleGate (const Interval< float > &, bool check) const |
float | samplePos (int idx) const |
void | set (int idx, float v, int icomp) |
void | setAll (float, int icomp=-1) |
void | setInterpolator (ValueSeriesInterpolator< float > *) |
becomes mine More... | |
void | setNrComponents (int, DataCharacteristics::UserType dt=DataCharacteristics::Auto) |
void | setStartPos (float p) |
int | size () const |
float | startPos () const |
bool | updateVelocities (const VelocityDesc &inpdesc, const VelocityDesc &outdesc, const ZDomain::Info &, double srd, const UnitOfMeasure *srduom, int icomp=-1, double t0=0.) |
void | zero (int icomp=-1) |
StepInterval< float > | zRange () const |
Static Public Member Functions | |
static const char * | sKeyExtTrcToSI () |
Static Public Attributes | |
static const float | snapdist |
Protected Attributes | |
TraceData | data_ |
SeisTrcInfo | info_ |
PtrMan< ValueSeriesInterpolator< float > > | intpol_ |
Private Member Functions | |
void | cleanUp () |
Seismic trace.
A seismic trace is composed of trace info and trace data. The trace data consists of one or more components. These are represented by a set of buffers, interpreted by DataInterpreters.
<>
SeisTrc::SeisTrc | ( | int | ns = 0 , |
const DataCharacteristics & | dc = DataCharacteristics() |
||
) |
SeisTrc::SeisTrc | ( | const SeisTrc & | t | ) |
SeisTrc::~SeisTrc | ( | ) |
|
private |
void SeisTrc::convertToFPs | ( | bool | preserve_data = true | ) |
void SeisTrc::copyDataFrom | ( | const SeisTrc & | , |
int | icomp = -1 , |
||
bool | forcefloats = false |
||
) |
icomp -1 (default) is all components
|
inline |
|
inline |
|
inline |
|
inline |
void SeisTrc::ensureNoUndefs | ( | float | withval = mUdf(float) | ) |
default is inter- and extrapolate
|
inline |
Extends (or shrinks) trace to ZGate Added values can be first/last value of input, or zeros
|
inline |
|
inline |
Resample around pick. No pick: returns null. ZGate is relative to pick
float SeisTrc::getValue | ( | float | , |
int | icomp | ||
) | const |
bool SeisTrc::hasUndef | ( | int | icomp = -1 | ) | const |
|
inline |
|
inline |
const ValueSeriesInterpolator<float>& SeisTrc::interpolator | ( | ) | const |
|
inline |
bool SeisTrc::isNull | ( | int | icomp = -1 | ) | const |
bool SeisTrc::isUdf | ( | int | icomp = -1 | ) | const |
|
inline |
|
inline |
bool SeisTrc::reSize | ( | int | , |
bool | copydata | ||
) |
void SeisTrc::reverse | ( | int | icomp = -1 | ) |
SampleGate SeisTrc::sampleGate | ( | const Interval< float > & | , |
bool | check | ||
) | const |
|
inline |
|
inline |
void SeisTrc::setAll | ( | float | , |
int | icomp = -1 |
||
) |
void SeisTrc::setInterpolator | ( | ValueSeriesInterpolator< float > * | ) |
becomes mine
void SeisTrc::setNrComponents | ( | int | , |
DataCharacteristics::UserType | dt = DataCharacteristics::Auto |
||
) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
bool SeisTrc::updateVelocities | ( | const VelocityDesc & | inpdesc, |
const VelocityDesc & | outdesc, | ||
const ZDomain::Info & | , | ||
double | srd, | ||
const UnitOfMeasure * | srduom, | ||
int | icomp = -1 , |
||
double | t0 = 0. |
||
) |
Updates the velocity type and unit according to provided VelocityDesc objects
|
inline |
|
inline |
|
protected |
|
protected |
|
mutableprotected |
|
static |
Default 1e-4 /* mDeprecated */ relative distance from a sample below which no interpolation is done. 99.9% chance default is OK.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024