OpendTect  7.0
Public Types | 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 Types

typedef od_int64 idx_type
 
typedef idx_type size_type
 

Public Member Functions

 CalcSetup (bool weighted=false)
 
bool isWeighted () const
 
bool needExtreme () const
 
bool needMedian () const
 
bool needMostFreq () const
 
bool needSorted () const
 
bool needSums () const
 
bool needVariance () const
 
CalcSetuprequire (Type)
 
void setNeedSorted (bool yn=true)
 

Static Public Member Functions

static int medianEvenHandling ()
 

Protected Attributes

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

Friends

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

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.

<>

Member Typedef Documentation

◆ idx_type

typedef od_int64 Stats::CalcSetup::idx_type

◆ size_type

Constructor & Destructor Documentation

◆ CalcSetup()

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

Member Function Documentation

◆ isWeighted()

bool Stats::CalcSetup::isWeighted ( ) const
inline

◆ medianEvenHandling()

static int Stats::CalcSetup::medianEvenHandling ( )
static

◆ needExtreme()

bool Stats::CalcSetup::needExtreme ( ) const
inline

◆ needMedian()

bool Stats::CalcSetup::needMedian ( ) const
inline

◆ needMostFreq()

bool Stats::CalcSetup::needMostFreq ( ) const
inline

◆ needSorted()

bool Stats::CalcSetup::needSorted ( ) const
inline

◆ needSums()

bool Stats::CalcSetup::needSums ( ) const
inline

◆ needVariance()

bool Stats::CalcSetup::needVariance ( ) const
inline

◆ require()

CalcSetup& Stats::CalcSetup::require ( Type  )

◆ setNeedSorted()

void Stats::CalcSetup::setNeedSorted ( bool  yn = true)
inline

Friends And Related Function Documentation

◆ BaseCalc

template<class T >
friend class BaseCalc
friend

◆ ParallelCalc

template<class T >
friend class ParallelCalc
friend

◆ RunCalc

template<class T >
friend class RunCalc
friend

◆ WindowedCalc

template<class T >
friend class WindowedCalc
friend

Member Data Documentation

◆ needextreme_

bool Stats::CalcSetup::needextreme_
protected

◆ needmed_

bool Stats::CalcSetup::needmed_
protected

◆ needmostfreq_

bool Stats::CalcSetup::needmostfreq_
protected

◆ needsorted_

bool Stats::CalcSetup::needsorted_
protected

◆ needsums_

bool Stats::CalcSetup::needsums_
protected

◆ needvariance_

bool Stats::CalcSetup::needvariance_
protected

◆ weighted_

bool Stats::CalcSetup::weighted_
protected

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