IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::saxs::FormFactorTable Class Reference

#include <IMP/saxs/FormFactorTable.h>

Detailed Description

class that deals with form factor computation two form factors are supported: (i) zero form factors for faster approximated calculations (ii) full form factors for slower accurate calculations

Each form factor can be divided into two parts: vacuum and dummy. dummy is an approximated excluded volume (solvent) form factor. The approximation is done using Fraser, MacRae and Suzuki (1978) model.

Definition at line 50 of file FormFactorTable.h.

Public Member Functions

 FormFactorTable ()
 default constructor
 FormFactorTable (const std::string &table_name, double min_q, double max_q, double delta_q)
 constructor with form factor table file (required for full form factors)
double get_dummy_form_factor (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 f(0) for solvent
const Vector< double > & get_dummy_form_factors (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 for reciprocal space profile calculation
double get_dummy_water_form_factor () const
 f(0) for water (solvent)
double get_form_factor (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 get f(0), ie q=0 for real space profile calculation
const Vector< double > & get_form_factors (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 full form factor for reciprocal space profile calculation
double get_radius (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 radius
double get_vacuum_form_factor (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 f(0) in vacuum
const Vector< double > & get_vacuum_form_factors (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 for reciprocal space profile calculation
double get_vacuum_water_form_factor () const
 f(0) for water in vacuum
double get_volume (Particle *p, FormFactorType ff_type=HEAVY_ATOMS) const
 volume
const Vector< double > & get_water_dummy_form_factors () const
 full water dummy form factor
double get_water_form_factor () const
 f(0) for water
const Vector< double > & get_water_form_factors () const
 full water form factor
const Vector< double > & get_water_vacuum_form_factors () const
 full water vacuum form factor
void show (std::ostream &out=std::cout, std::string prefix="") const
 print tables

Static Public Attributes

static double rho_

Constructor & Destructor Documentation

◆ FormFactorTable() [1/2]

IMP::saxs::FormFactorTable::FormFactorTable ( )

default constructor

◆ FormFactorTable() [2/2]

IMP::saxs::FormFactorTable::FormFactorTable ( const std::string & table_name,
double min_q,
double max_q,
double delta_q )

constructor with form factor table file (required for full form factors)

Member Function Documentation

◆ get_dummy_form_factor()

double IMP::saxs::FormFactorTable::get_dummy_form_factor ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

f(0) for solvent

◆ get_dummy_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_dummy_form_factors ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

for reciprocal space profile calculation

◆ get_dummy_water_form_factor()

double IMP::saxs::FormFactorTable::get_dummy_water_form_factor ( ) const

f(0) for water (solvent)

Definition at line 82 of file FormFactorTable.h.

◆ get_form_factor()

double IMP::saxs::FormFactorTable::get_form_factor ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

get f(0), ie q=0 for real space profile calculation

◆ get_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_form_factors ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

full form factor for reciprocal space profile calculation

◆ get_radius()

double IMP::saxs::FormFactorTable::get_radius ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

radius

◆ get_vacuum_form_factor()

double IMP::saxs::FormFactorTable::get_vacuum_form_factor ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

f(0) in vacuum

◆ get_vacuum_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_vacuum_form_factors ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

for reciprocal space profile calculation

◆ get_vacuum_water_form_factor()

double IMP::saxs::FormFactorTable::get_vacuum_water_form_factor ( ) const

f(0) for water in vacuum

Definition at line 77 of file FormFactorTable.h.

◆ get_volume()

double IMP::saxs::FormFactorTable::get_volume ( Particle * p,
FormFactorType ff_type = HEAVY_ATOMS ) const

volume

◆ get_water_dummy_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_water_dummy_form_factors ( ) const

full water dummy form factor

Definition at line 111 of file FormFactorTable.h.

◆ get_water_form_factor()

double IMP::saxs::FormFactorTable::get_water_form_factor ( ) const

f(0) for water

Definition at line 74 of file FormFactorTable.h.

◆ get_water_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_water_form_factors ( ) const

full water form factor

Definition at line 101 of file FormFactorTable.h.

◆ get_water_vacuum_form_factors()

const Vector< double > & IMP::saxs::FormFactorTable::get_water_vacuum_form_factors ( ) const

full water vacuum form factor

Definition at line 106 of file FormFactorTable.h.

◆ show()

void IMP::saxs::FormFactorTable::show ( std::ostream & out = std::cout,
std::string prefix = "" ) const

print tables

Member Data Documentation

◆ rho_

double IMP::saxs::FormFactorTable::rho_
static

Definition at line 125 of file FormFactorTable.h.


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