Particle Identification and Tracking
|
A basic filter, does rg (top), shift (top) and eccentricity (top) cuts. More...
#include <filter.h>
Public Member Functions | |
bool | operator() (int ind, int frame) const |
Returns true if the particle at index in frame passes what every criteria that the subclasses implement. More... | |
Filter_ers () | |
Constructor. More... | |
void | init (const Md_store &md_store) |
Initialization from an Md_store. More... | |
void | set_wrapper (const Wrapper_in *w_i) |
Sets pointer to Wrapper_in to read data from. More... | |
FILT_TYPE | get_type () const |
Returns filter type. More... | |
Md_store | get_parameters () const |
Returns the filter parameters in a md_store object. More... | |
~Filter_ers () | |
Destructor. More... | |
Private Attributes | |
float | e_cut_ |
Eccentricity threshold. More... | |
float | rg_cut_ |
Radius of gyration threshold. More... | |
float | shift_cut_ |
Centroid shift threshold. More... | |
float | shift_cut_sqr_ |
Centroid shift threshold. More... | |
const Wrapper_in * | wrap_ |
Wrapper to read particle data from. More... | |
A basic filter, does rg (top), shift (top) and eccentricity (top) cuts.
Filter_ers::Filter_ers | ( | ) |
Constructor.
|
inline |
Destructor.
Md_store Filter_ers::get_parameters | ( | ) | const |
Returns the filter parameters in a md_store object.
References utilities::Md_store::add_element(), e_cut_, rg_cut_, and shift_cut_.
Referenced by main().
|
inlinevirtual |
void Filter_ers::init | ( | const Md_store & | md_store) |
Initialization from an Md_store.
References e_cut_, utilities::Md_store::get_value(), rg_cut_, shift_cut_, and shift_cut_sqr_.
Referenced by utilities::filter_factory(), and main().
|
virtual |
Returns true if the particle at index in frame passes what every criteria that the subclasses implement.
Implements utilities::Filter.
References utilities::D_DX, utilities::D_DY, utilities::D_E, utilities::D_R2, e_cut_, utilities::Wrapper_in::get_value(), rg_cut_, shift_cut_sqr_, and wrap_.
|
inlinevirtual |
|
private |
Eccentricity threshold.
Referenced by get_parameters(), init(), and operator()().
|
private |
Radius of gyration threshold.
Referenced by get_parameters(), init(), and operator()().
|
private |
Centroid shift threshold.
Referenced by get_parameters(), and init().
|
private |
Centroid shift threshold.
Referenced by init(), and operator()().
|
private |
Wrapper to read particle data from.
Referenced by operator()(), and set_wrapper().