Determine the collision cross section for some projections of particles.
More...
#include <IMP/em2d/CollisionCrossSection.h>
Determine the collision cross section for some projections of particles.
Definition at line 21 of file CollisionCrossSection.h.
◆ CollisionCrossSection()
| IMP::em2d::CollisionCrossSection::CollisionCrossSection |
( |
unsigned int | n_projections, |
|
|
double | resolution, |
|
|
double | pixel_size, |
|
|
double | projection_image_size ) |
- Parameters
-
| [in] | n_projections | Number of projections to use for obtaining the CCS |
| [in] | resolution | "Resolution" to use to generate the projections. |
| [in] | pixel_size | size in A/pix to use when generating the projections |
| [in] | projection_image_size | The size of the projections to generate; for this value you should request a size so that pixel_size * projection_image_size >= Max distance between two particles. |
◆ ~CollisionCrossSection()
| virtual IMP::em2d::CollisionCrossSection::~CollisionCrossSection |
( |
| ) |
|
|
virtual |
◆ get_ccs()
| double IMP::em2d::CollisionCrossSection::get_ccs |
( |
| ) |
const |
Returns the collision cross section.
Before using this function you need to set the particles with set_model_particles()
- Returns
- The collision cross section
◆ get_projected_area()
| double IMP::em2d::CollisionCrossSection::get_projected_area |
( |
const DoubleMatrix & | m | ) |
const |
|
protected |
Gets the sum of the values in the pixels with value > 0.
- Parameters
-
| [in] | m | The projected area is computed for this matrix |
- Returns
- Values of the area
◆ get_type_name()
| virtual std::string IMP::em2d::CollisionCrossSection::get_type_name |
( |
| ) |
const |
|
overridevirtual |
◆ get_version_info()
◆ set_model_particles()
| void IMP::em2d::CollisionCrossSection::set_model_particles |
( |
const ParticlesTemp & | ps | ) |
|
Particles used to calculate their collision cross section
- Parameters
-
◆ show()
| void IMP::em2d::CollisionCrossSection::show |
( |
std::ostream & | out | ) |
const |
Shows information about the class.
- Parameters
-
| out | Stream used to show the information |
Definition at line 51 of file CollisionCrossSection.h.
◆ average_projection_
| DoubleMatrix IMP::em2d::CollisionCrossSection::average_projection_ |
|
protected |
◆ collision_cross_section_
| double IMP::em2d::CollisionCrossSection::collision_cross_section_ |
|
protected |
◆ img_size_
| unsigned int IMP::em2d::CollisionCrossSection::img_size_ |
|
protected |
◆ masks_manager_
| em2d::MasksManagerPtr IMP::em2d::CollisionCrossSection::masks_manager_ |
|
protected |
◆ n_projections_
| unsigned int IMP::em2d::CollisionCrossSection::n_projections_ |
|
protected |
◆ particles_set_
| bool IMP::em2d::CollisionCrossSection::particles_set_ |
|
protected |
◆ pixel_size_
| double IMP::em2d::CollisionCrossSection::pixel_size_ |
|
protected |
◆ regs_
◆ resolution_
| double IMP::em2d::CollisionCrossSection::resolution_ |
|
protected |
The documentation for this class was generated from the following file: