IMP  2.3.1
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 32 of file Distribution.h.

Public Member Functions

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

Protected Member Functions

void init (Float bin_size)
 

Protected Attributes

Float bin_size_
 
Float max_distance_
 
Float one_over_bin_size_
 

Constructor & Destructor Documentation

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

Constructor.

Definition at line 35 of file Distribution.h.

Member Function Documentation

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

returns bin size

Definition at line 41 of file Distribution.h.

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

returns maximal distance value of distribution

Definition at line 38 of file Distribution.h.


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