IMP logo
IMP Reference Guide  develop.5651aa123e,2024/07/20
The Integrative Modeling Platform
IMP::em::KernelParameters Class Reference

Calculates and stores Gaussian kernel parameters. More...

#include <IMP/em/KernelParameters.h>

Detailed Description

Calculates and stores Gaussian kernel parameters.

Definition at line 29 of file KernelParameters.h.

Public Member Functions

 KernelParameters (float resolution)
 
float get_inv_rsigsq () const
 Get the inverse of sigma squared. More...
 
float get_lim () const
 Gets the value of lim parameter. More...
 
float get_rkdist () const
 Get the length of the Gaussian (sigma*number_of_sigmas_used) More...
 
float get_rkdistsq () const
 Get the squared length of the Gaussian (sigma*number_of_sigmas_used) More...
 
float get_rnormfac () const
 Get the Gaussian normalization factor. More...
 
float get_rsig () const
 
float get_rsigsq () const
 
float get_sq2pi3 () const
 Get the non-sigma portion of the Gaussian normalization factor. More...
 
float get_timessig () const
 Gets the number of sigma used. More...
 
void show (std::ostream &out=std::cout) const
 

Protected Types

typedef std::map< float, const
internal::RadiusDependentKernelParameters * > 
KernelMap
 

Protected Member Functions

void init (float resolution)
 
template<class Archive >
void load (Archive &ar)
 
template<class Archive >
void save (Archive &ar) const
 

Protected Attributes

bool initialized_
 
float inv_rsigsq_
 
float lim_
 
KernelMap radii2params_
 
float resolution_
 
float rkdist_
 
float rkdistsq_
 
float rnormfac_
 
float rsig_
 
float rsigsq_
 
float sq2pi3_
 
float timessig_
 

Member Function Documentation

float IMP::em::KernelParameters::get_inv_rsigsq ( ) const

Get the inverse of sigma squared.

Definition at line 49 of file KernelParameters.h.

float IMP::em::KernelParameters::get_lim ( ) const

Gets the value of lim parameter.

Definition at line 70 of file KernelParameters.h.

float IMP::em::KernelParameters::get_rkdist ( ) const

Get the length of the Gaussian (sigma*number_of_sigmas_used)

Definition at line 64 of file KernelParameters.h.

float IMP::em::KernelParameters::get_rkdistsq ( ) const

Get the squared length of the Gaussian (sigma*number_of_sigmas_used)

Definition at line 67 of file KernelParameters.h.

float IMP::em::KernelParameters::get_rnormfac ( ) const

Get the Gaussian normalization factor.

Definition at line 61 of file KernelParameters.h.

float IMP::em::KernelParameters::get_rsig ( ) const

Get sigma as a function of the resolution according to the full width at half maximum criterion

Definition at line 42 of file KernelParameters.h.

float IMP::em::KernelParameters::get_rsigsq ( ) const

Get squared sigma as a function of the resolution according to the full width at half maximum criterion

Definition at line 46 of file KernelParameters.h.

float IMP::em::KernelParameters::get_sq2pi3 ( ) const

Get the non-sigma portion of the Gaussian normalization factor.

Definition at line 58 of file KernelParameters.h.

float IMP::em::KernelParameters::get_timessig ( ) const

Gets the number of sigma used.

Note
We use 3, which means that 99% of the density is considered

Definition at line 55 of file KernelParameters.h.


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