IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform

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.
float get_lim () const
 Gets the value of lim parameter.
float get_rkdist () const
 Get the length of the Gaussian (sigma*number_of_sigmas_used).
float get_rkdistsq () const
 Get the squared length of the Gaussian (sigma*number_of_sigmas_used).
float get_rnormfac () const
 Get the Gaussian normalization factor.
float get_rsig () const
float get_rsigsq () const
float get_sq2pi3 () const
 Get the non-sigma portion of the Gaussian normalization factor.
float get_timessig () const
 Gets the number of sigma used.
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 Typedef Documentation

◆ KernelMap

typedef std::map<float, const internal::RadiusDependentKernelParameters *> IMP::em::KernelParameters::KernelMap
protected

Definition at line 93 of file KernelParameters.h.

Constructor & Destructor Documentation

◆ KernelParameters() [1/2]

IMP::em::KernelParameters::KernelParameters ( )

Definition at line 31 of file KernelParameters.h.

◆ KernelParameters() [2/2]

IMP::em::KernelParameters::KernelParameters ( float resolution)

Definition at line 33 of file KernelParameters.h.

Member Function Documentation

◆ get_inv_rsigsq()

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

Get the inverse of sigma squared.

Definition at line 49 of file KernelParameters.h.

◆ get_lim()

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

Gets the value of lim parameter.

Definition at line 70 of file KernelParameters.h.

◆ get_rkdist()

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.

◆ get_rkdistsq()

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.

◆ get_rnormfac()

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

Get the Gaussian normalization factor.

Definition at line 61 of file KernelParameters.h.

◆ get_rsig()

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.

◆ get_rsigsq()

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.

◆ get_sq2pi3()

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.

◆ get_timessig()

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.

◆ load()

template<class Archive>
void IMP::em::KernelParameters::load ( Archive & ar)
protected

Definition at line 104 of file KernelParameters.h.

◆ save()

template<class Archive>
void IMP::em::KernelParameters::save ( Archive & ar) const
protected

Definition at line 100 of file KernelParameters.h.

Member Data Documentation

◆ initialized_

bool IMP::em::KernelParameters::initialized_
protected

Definition at line 91 of file KernelParameters.h.

◆ inv_rsigsq_

float IMP::em::KernelParameters::inv_rsigsq_
protected

Definition at line 88 of file KernelParameters.h.

◆ lim_

float IMP::em::KernelParameters::lim_
protected

Definition at line 90 of file KernelParameters.h.

◆ radii2params_

KernelMap IMP::em::KernelParameters::radii2params_
protected

Definition at line 94 of file KernelParameters.h.

◆ resolution_

float IMP::em::KernelParameters::resolution_
protected

Definition at line 86 of file KernelParameters.h.

◆ rkdist_

float IMP::em::KernelParameters::rkdist_
protected

Definition at line 90 of file KernelParameters.h.

◆ rkdistsq_

float IMP::em::KernelParameters::rkdistsq_
protected

Definition at line 90 of file KernelParameters.h.

◆ rnormfac_

float IMP::em::KernelParameters::rnormfac_
protected

Definition at line 89 of file KernelParameters.h.

◆ rsig_

float IMP::em::KernelParameters::rsig_
protected

Definition at line 88 of file KernelParameters.h.

◆ rsigsq_

float IMP::em::KernelParameters::rsigsq_
protected

Definition at line 88 of file KernelParameters.h.

◆ sq2pi3_

float IMP::em::KernelParameters::sq2pi3_
protected

Definition at line 89 of file KernelParameters.h.

◆ timessig_

float IMP::em::KernelParameters::timessig_
protected

Definition at line 87 of file KernelParameters.h.


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