IMP Reference Guide
2.11.0
The Integrative Modeling Platform
|
Management of projection masks. More...
#include <IMP/em2d/ProjectionMask.h>
Management of projection masks.
Definition at line 132 of file ProjectionMask.h.
Public Member Functions | |
MasksManager (double resolution, double pixelsize) | |
void | create_mask (double mass) |
Creates the adequate mask for a particle of given mass. More... | |
void | create_masks (const ParticlesTemp &ps) |
ProjectionMaskPtr | find_mask (double mass) |
Returns the adequate mask for a particle of given mass. More... | |
unsigned int | get_number_of_masks () const |
void | setup_kernel (double resolution, double pixelsize) |
Initializes the kernel. More... | |
void | show (std::ostream &out=std::cout) const |
Protected Attributes | |
bool | is_setup_ |
em::KernelParameters | kernel_params_ |
std::map< double, ProjectionMaskPtr > | mass2mask_ |
double | pixelsize_ |
void IMP::em2d::MasksManager::create_mask | ( | double | mass | ) |
Creates the adequate mask for a particle of given mass.
[in] | mass | of the particle |
void IMP::em2d::MasksManager::create_masks | ( | const ParticlesTemp & | ps | ) |
Generates all the masks for a set of particles. This is the function you typically want to use
ProjectionMaskPtr IMP::em2d::MasksManager::find_mask | ( | double | mass | ) |
Returns the adequate mask for a particle of given mass.
void IMP::em2d::MasksManager::setup_kernel | ( | double | resolution, |
double | pixelsize | ||
) |
Initializes the kernel.
Definition at line 143 of file ProjectionMask.h.