![]() |
OpendTect
7.0
|
RunCalc manager which buffers a part of the data. More...
Public Member Functions | |
| WindowedCalc (const CalcSetup &rcs, size_type sz) | |
| ~WindowedCalc () | |
| WindowedCalc & | addValue (T data, T weight=1) |
| double | average () const |
| void | clear () |
| size_type | count () const |
| T | extreme (idx_type *i=0) const |
| idx_type | getIndex (Type) const |
| Only use for Min, Max or Median. More... | |
| double | getValue (Type) const |
| T | max (idx_type *i=0) const |
| T | median (idx_type *i=0) const |
| T | min (idx_type *i=0) const |
| T | mostFreq () const |
| mUseType (CalcSetup, idx_type) | |
| mUseType (CalcSetup, size_type) | |
| double | normvariance () const |
| WindowedCalc & | operator+= (T t) |
| double | rms () const |
| T | sqSum () const |
| double | stdDev () const |
| T | sum () const |
| double | variance () const |
Protected Member Functions | |
| void | fillCalc (RunCalc< T > &) const |
Protected Attributes | |
| RunCalc< T > | calc_ |
| bool | empty_ |
| bool | full_ |
| bool | needcalc_ |
| idx_type | posidx_ |
| const size_type | sz_ |
| T * | vals_ |
| T * | wts_ |
RunCalc manager which buffers a part of the data.
Allows calculating running stats on a window only. Once the window is full, WindowedCalc will replace the first value added (fifo).
<>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
Only use for Min, Max or Median.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Stats::WindowedCalc< T >::mUseType | ( | CalcSetup | , |
| idx_type | |||
| ) |
| Stats::WindowedCalc< T >::mUseType | ( | CalcSetup | , |
| size_type | |||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024