OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
Stats::CalcSetup Class Reference

Setup for the Stats::RunCalc and Stats::ParallelCalc objects. More...

Public Member Functions

 CalcSetup (bool weighted=false)
 
CalcSetuprequire (Type)
 
bool isWeighted () const
 
bool needExtreme () const
 
bool needSums () const
 
bool needMedian () const
 
bool needMostFreq () const
 
bool needVariance () const
 

Static Public Member Functions

static int medianEvenHandling ()
 

Protected Attributes

bool weighted_
 
bool needextreme_
 
bool needsums_
 
bool needmed_
 
bool needmostfreq_
 
bool needvariance_
 

Friends

template<class T >
class BaseCalc
 
template<class T >
class RunCalc
 
template<class T >
class WindowedCalc
 
template<class T >
class ParallelCalc
 

Detailed Description

Setup for the Stats::RunCalc and Stats::ParallelCalc objects.

medianEvenHandling() is tied to OD_EVEN_MEDIAN_AVERAGE, OD_EVEN_MEDIAN_LOWMID, and settings dTect.Even Median.Average and dTect.Even Median.LowMid. When medianing over an even number of points, either take the low mid (<0), hi mid (>0), or avg the two middles. By default, hi mid is used.

Constructor & Destructor Documentation

Stats::CalcSetup::CalcSetup ( bool  weighted = false)
inline

Member Function Documentation

bool Stats::CalcSetup::isWeighted ( ) const
inline
static int Stats::CalcSetup::medianEvenHandling ( )
static
bool Stats::CalcSetup::needExtreme ( ) const
inline
bool Stats::CalcSetup::needMedian ( ) const
inline
bool Stats::CalcSetup::needMostFreq ( ) const
inline
bool Stats::CalcSetup::needSums ( ) const
inline
bool Stats::CalcSetup::needVariance ( ) const
inline
CalcSetup& Stats::CalcSetup::require ( Type  )

Friends And Related Function Documentation

template<class T >
friend class BaseCalc
friend
template<class T >
friend class ParallelCalc
friend
template<class T >
friend class RunCalc
friend
template<class T >
friend class WindowedCalc
friend

Member Data Documentation

bool Stats::CalcSetup::needextreme_
protected
bool Stats::CalcSetup::needmed_
protected
bool Stats::CalcSetup::needmostfreq_
protected
bool Stats::CalcSetup::needsums_
protected
bool Stats::CalcSetup::needvariance_
protected
bool Stats::CalcSetup::weighted_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019