Public Member Functions | |
| bool | are_params_set (float radius, float eps=0.001) |
| float | get_inv_rsigsq () const |
| Gets the value of inv_rsigsq parameter. | |
| float | get_lim () const |
| Gets the value of lim parameter. | |
| const RadiusDependentKernelParameters * | get_params (float radius, float eps=0.001) |
| Finds the precomputed parameters given a particle radius. | |
| float | get_rkdist () const |
| Gets the value of rkdist parameter. | |
| float | get_rnormfac () const |
| Gets the value of rnormfac parameter. | |
| float | get_rsig () const |
| Gets the value of rsig parameter. | |
| float | get_rsigsq () const |
| Gets the value of rsig square parameter. | |
| float | get_sq2pi3 () const |
| Gets the value of sq2pi3 parameter. | |
| float | get_timessig () const |
| Gets the value of timessig parameter. | |
| KernelParameters (float resolution) | |
| void | set_params (float radius) |
| Sets the parameters that depend on the radius of a given particle. | |
Protected Member Functions | |
| void | init (float resolution) |
Protected Attributes | |
| bool | initialized_ |
| float | inv_rsigsq_ |
| float | lim_ |
|
std::map< float, const RadiusDependentKernelParameters * > | radii2params_ |
| float | rkdist_ |
| float | rnormfac_ |
| float | rsig_ |
| float | rsigsq_ |
| float | sq2pi3_ |
| float | timessig_ |
| const RadiusDependentKernelParameters* IMP::em::KernelParameters::get_params | ( | float | radius, | |
| float | eps = 0.001 | |||
| ) |
Finds the precomputed parameters given a particle radius.
| [in] | radius | searching for parameters of this radius |
| [in] | eps | used for numerical stability |
the function return NULL and writes a warning if parameters for this radius were not found.
| void IMP::em::KernelParameters::set_params | ( | float | radius | ) |
Sets the parameters that depend on the radius of a given particle.
The other variables of the parameters (rsigsq,timessig,sq2pi3,inv_rsigsq,rnormfac,rkdist) must have been set.
| [in] | radius | the radius |