|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
#include <IMP/isd/vonMises.h>
Probability density function and -log(p) of von Mises distribution
\[ f(x|\mu,\kappa) = \frac{\exp \left(\kappa \cos (x-\mu)\right)}{2\pi I_0(\kappa)} \]
This is the proper treatment for a "normally distributed" angle. When \(\kappa\) becomes infinite, the distribution tends to a gaussian, and \(\kappa = 1/\sigma^2\).
Definition at line 28 of file vonMises.h.
Public Member Functions | |
| vonMises (double x, double mu, double kappa) | |
| virtual double | density () const |
| virtual double | evaluate () const |
| virtual double | evaluate_derivative_kappa () const |
| virtual double | evaluate_derivative_mu () const |
| virtual double | evaluate_derivative_x () const |
| virtual std::string | get_type_name () const override |
| virtual ::IMP::VersionInfo | get_version_info () const override |
| Get information about the module and version of the object. | |
| void | set_kappa (double kappa) |
| void | set_mu (double mu) |
| void | set_x (double x) |
| Public Member Functions inherited from IMP::Object | |
| CheckLevel | get_check_level () const |
| get_derived_object (self) | |
| Return this object cast to the most derived subclass. | |
| LogLevel | get_log_level () const |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| const std::string & | get_name () const |
| Get the (not necessarily unique) name of this object. | |
| void | set_name (std::string name) |
| void | set_was_used (bool tf) const |
| void | show (std::ostream &out=std::cout) const |
| virtual void | clear_caches () |
Additional Inherited Members | |
| Protected Member Functions inherited from IMP::Object | |
| Object (std::string name) | |
| Construct an object with the given name. | |
| virtual void | do_destroy () |
| IMP::isd::vonMises::vonMises | ( | double | x, |
| double | mu, | ||
| double | kappa ) |
Definition at line 30 of file vonMises.h.
|
virtual |
Definition at line 64 of file vonMises.h.
|
virtual |
Definition at line 51 of file vonMises.h.
|
virtual |
Definition at line 36 of file vonMises.h.
|
virtual |
Definition at line 46 of file vonMises.h.
|
virtual |
Definition at line 42 of file vonMises.h.
|
virtual |
Definition at line 38 of file vonMises.h.
|
overridevirtual |
Reimplemented from IMP::Object.
Definition at line 64 of file vonMises.h.
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::Object.
Definition at line 64 of file vonMises.h.
| void IMP::isd::vonMises::set_kappa | ( | double | kappa | ) |
Definition at line 58 of file vonMises.h.
| void IMP::isd::vonMises::set_mu | ( | double | mu | ) |
Definition at line 57 of file vonMises.h.
| void IMP::isd::vonMises::set_x | ( | double | x | ) |
Definition at line 56 of file vonMises.h.