OpendTect 8.0
Loading...
Searching...
No Matches
DataDistributionChanger< VT > Class Template Reference

#include <datadistributiontools.h>

Public Types

typedef DataDistribution< VT > DistribType
 

Public Member Functions

 DataDistributionChanger (DistribType &d)
 
bool deSpike (VT ratioaboverg=VT(0.4))
 
void normalise (bool in_the_math_sense=true)
 
void normalize (bool in_the_math_sense=true)
 if !math, sets max to 1
 
void usePar (const IOPar &)
 

Protected Attributes

DistribType & distrib_
 

Member Typedef Documentation

◆ DistribType

template<class VT>
typedef DataDistribution<VT> DataDistributionChanger< VT >::DistribType

Constructor & Destructor Documentation

◆ DataDistributionChanger()

template<class VT>
DataDistributionChanger< VT >::DataDistributionChanger ( DistribType & d)
inline

Member Function Documentation

◆ deSpike()

template<class VT>
bool DataDistributionChanger< VT >::deSpike ( VT ratioaboverg = VT(0.4))
inline

Returns whether any change made Note that your distrib is no longer correct Useful for nice displays

◆ normalise()

template<class VT>
void DataDistributionChanger< VT >::normalise ( bool in_the_math_sense = true)
inline

◆ normalize()

template<class VT>
void DataDistributionChanger< VT >::normalize ( bool in_the_math_sense = true)
inline

if !math, sets max to 1

◆ usePar()

template<class VT>
void DataDistributionChanger< VT >::usePar ( const IOPar & iop)
inline

Member Data Documentation

◆ distrib_

template<class VT>
DistribType& DataDistributionChanger< VT >::distrib_
protected

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