EMAN2
Public Member Functions | Private Attributes | List of all members
EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid Class Reference

Public Member Functions

 GaussianFunctoid (const float sigma, const float mean=0.0)
 
 ~GaussianFunctoid ()
 
float operator() (const float distance)
 

Private Attributes

float m_mean
 
float m_sigma_squared
 

Detailed Description

Definition at line 9040 of file processor.h.

Constructor & Destructor Documentation

◆ GaussianFunctoid()

EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::GaussianFunctoid ( const float  sigma,
const float  mean = 0.0 
)
inline

◆ ~GaussianFunctoid()

EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::~GaussianFunctoid ( )
inline

Definition at line 9044 of file processor.h.

9044{}

Member Function Documentation

◆ operator()()

float EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::operator() ( const float  distance)
inline

Definition at line 9046 of file processor.h.

9047 {
9048 return exp( -(distance-m_mean)*(distance-m_mean)/ (m_sigma_squared ));
9049 }

References m_mean, and m_sigma_squared.

Member Data Documentation

◆ m_mean

float EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::m_mean
private

Definition at line 9051 of file processor.h.

Referenced by operator()().

◆ m_sigma_squared

float EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::m_sigma_squared
private

Definition at line 9051 of file processor.h.

Referenced by operator()().


The documentation for this class was generated from the following file: