EMAN2
Public Member Functions | Private Attributes
EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid Class Reference

List of all members.

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 7173 of file processor.h.


Constructor & Destructor Documentation

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

Definition at line 7176 of file processor.h.

: m_mean(mean), m_sigma_squared(sigma*sigma) {}
EMAN::TomoTiltEdgeMaskProcessor::GaussianFunctoid::~GaussianFunctoid ( ) [inline]

Definition at line 7177 of file processor.h.

{}

Member Function Documentation

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

Definition at line 7179 of file processor.h.

References m_mean, and m_sigma_squared.

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

Member Data Documentation

Definition at line 7184 of file processor.h.

Referenced by operator()().

Definition at line 7184 of file processor.h.

Referenced by operator()().


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