IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
IMP::saxs::RadialDistributionFunction Class Reference

#include <IMP/saxs/Distribution.h>

+ Inheritance diagram for IMP::saxs::RadialDistributionFunction:

Detailed Description

Radial Distribution class for calculating SAXS Profile this is distance distribution multiplied by form factors of atoms

Definition at line 73 of file Distribution.h.

Public Member Functions

 RadialDistributionFunction (Float bin_size=pr_resolution)
 Constructor (default) More...
 
 RadialDistributionFunction (const std::string &file_name)
 Constructor from gnom file. More...
 
void add (const RadialDistributionFunction &model_pr)
 add another distribution More...
 
void add_to_distribution (Float dist, Float value)
 
Float fit (const RadialDistributionFunction &model_pr, const std::string &file_name="") const
 fit the distributions by scaling according to maximum More...
 
void normalize ()
 normalize to area = 1.0 More...
 
Float R_factor_score (const RadialDistributionFunction &model_pr, const std::string &file_name="") const
 analogy crystallographic R-factor score More...
 
void scale (Float c)
 scale distribution by a constant More...
 
void show (std::ostream &out=std::cout) const
 print tables More...
 
- Public Member Functions inherited from IMP::saxs::Distribution< Float >
 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...
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::saxs::Distribution< Float >
void init (Float bin_size)
 
- Protected Attributes inherited from IMP::saxs::Distribution< Float >
Float bin_size_
 
Float max_distance_
 
Float one_over_bin_size_
 

Constructor & Destructor Documentation

IMP::saxs::RadialDistributionFunction::RadialDistributionFunction ( Float  bin_size = pr_resolution)

Constructor (default)

IMP::saxs::RadialDistributionFunction::RadialDistributionFunction ( const std::string &  file_name)

Constructor from gnom file.

Member Function Documentation

void IMP::saxs::RadialDistributionFunction::add ( const RadialDistributionFunction model_pr)

add another distribution

Float IMP::saxs::RadialDistributionFunction::fit ( const RadialDistributionFunction model_pr,
const std::string &  file_name = "" 
) const

fit the distributions by scaling according to maximum

void IMP::saxs::RadialDistributionFunction::normalize ( )

normalize to area = 1.0

Float IMP::saxs::RadialDistributionFunction::R_factor_score ( const RadialDistributionFunction model_pr,
const std::string &  file_name = "" 
) const

analogy crystallographic R-factor score

void IMP::saxs::RadialDistributionFunction::scale ( Float  c)

scale distribution by a constant

void IMP::saxs::RadialDistributionFunction::show ( std::ostream &  out = std::cout) const

print tables


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