IMP logo
IMP Reference Guide  2.17.0
The Integrative Modeling Platform
IMP::saxs::Distribution< ValueT > Class Template Reference

#include <IMP/saxs/Distribution.h>

+ Inheritance diagram for IMP::saxs::Distribution< ValueT >:

Detailed Description

template<class ValueT>
class IMP::saxs::Distribution< ValueT >

base class for distribution classes

Definition at line 31 of file saxs/distribution.h.

Public Member Functions

 Distribution (double bin_size=pr_resolution)
 Constructor. More...
 
double get_bin_size () const
 returns bin size More...
 
double get_distance_from_index (unsigned int index) const
 
unsigned int get_index_from_distance (double dist) const
 
double get_max_distance () const
 returns maximal distance value of distribution More...
 

Protected Member Functions

void init (double bin_size)
 

Protected Attributes

double bin_size_
 
double max_distance_
 
double one_over_bin_size_
 

Constructor & Destructor Documentation

template<class ValueT>
IMP::saxs::Distribution< ValueT >::Distribution ( double  bin_size = pr_resolution)

Constructor.

Definition at line 34 of file saxs/distribution.h.

Member Function Documentation

template<class ValueT>
double IMP::saxs::Distribution< ValueT >::get_bin_size ( ) const

returns bin size

Definition at line 40 of file saxs/distribution.h.

template<class ValueT>
double IMP::saxs::Distribution< ValueT >::get_max_distance ( ) const

returns maximal distance value of distribution

Definition at line 37 of file saxs/distribution.h.


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