OpendTect
6.6
|
Polynomial trend with order 0 (mean), 1 (linear) or 2 (parabolic) The trend is derived from a set of values with positions and can be applied thereafter on any other position. More...
Public Types | |
enum | Order { None , Order0 , Order1 , Order2 } |
Public Member Functions | |
PolyTrend () | |
template<class T > | |
void | apply (const Coord &pos, bool dir, T &val) const |
Order | getOrder () const |
bool | operator== (const PolyTrend &) const |
template<class IDXABLE > | |
bool | set (const TypeSet< Coord > &, const IDXABLE &valuelistj) |
void | setOrder (PolyTrend::Order t) |
Static Public Member Functions | |
static bool | getOrder (int nrpoints, Order &, uiString *=0) |
static const char * | sKeyOrder () |
Protected Member Functions | |
void | initCenter (const TypeSet< Coord > &) |
void | initOrder0 (const TypeSet< double > &) |
void | initOrder1 (const TypeSet< Coord > &, const TypeSet< double > &) |
void | initOrder2 (const TypeSet< Coord > &, const TypeSet< double > &) |
Protected Attributes | |
double | f0_ |
double | f11_ |
double | f12_ |
double | f1_ |
double | f22_ |
double | f2_ |
Order | order_ |
Coord | posc_ |
Polynomial trend with order 0 (mean), 1 (linear) or 2 (parabolic) The trend is derived from a set of values with positions and can be applied thereafter on any other position.
<>
enum PolyTrend::Order |
PolyTrend::PolyTrend | ( | ) |
|
inline |
Applies the trend to a value tied to a position
pos | |
dir | true for detrend, false for restore |
val | result after apply |
|
inline |
|
protected |
bool PolyTrend::operator== | ( | const PolyTrend & | ) | const |
|
inline |
Use after the order is set! Sets the trend from a list of values tied to a list of coordinates
|
inline |
|
inlinestatic |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022