Particle Identification and Tracking
Public Member Functions | Private Attributes | List of all members
utilities::Filter_ersI Class Reference

A basic filter, does rg (top), shift (top), eccentricity (top), and I (bottom) cuts. More...

#include <filter.h>

+ Inheritance diagram for utilities::Filter_ersI:
+ Collaboration diagram for utilities::Filter_ersI:

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_ersI ()
 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_ersI ()
 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 I_min_cut_
 Minimum total intensity. More...
 
const Wrapper_inwrap_
 Wrapper to read particle data from. More...
 

Detailed Description

A basic filter, does rg (top), shift (top), eccentricity (top), and I (bottom) cuts.

Constructor & Destructor Documentation

Filter_ersI::Filter_ersI ( )

Constructor.

utilities::Filter_ersI::~Filter_ersI ( )
inline

Destructor.

Member Function Documentation

Md_store Filter_ersI::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_.

FILT_TYPE utilities::Filter_ersI::get_type ( ) const
inlinevirtual

Returns filter type.

Implements utilities::Filter.

References utilities::FILT_ERSImin.

void Filter_ersI::init ( const Md_store md_store)

Initialization from an Md_store.

References e_cut_, utilities::Md_store::get_value(), I_min_cut_, rg_cut_, and shift_cut_.

Referenced by utilities::filter_factory().

bool Filter_ersI::operator() ( int  index,
int  frame 
) const
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_I, utilities::D_R2, e_cut_, utilities::Wrapper_in::get_value(), I_min_cut_, rg_cut_, shift_cut_, and wrap_.

void utilities::Filter_ersI::set_wrapper ( const Wrapper_in )
inlinevirtual

Sets pointer to Wrapper_in to read data from.

Implements utilities::Filter.

References wrap_.

Member Data Documentation

float utilities::Filter_ersI::e_cut_
private

Eccentricity threshold.

Referenced by get_parameters(), init(), and operator()().

float utilities::Filter_ersI::I_min_cut_
private

Minimum total intensity.

Referenced by init(), and operator()().

float utilities::Filter_ersI::rg_cut_
private

Radius of gyration threshold.

Referenced by get_parameters(), init(), and operator()().

float utilities::Filter_ersI::shift_cut_
private

Centroid shift threshold.

Referenced by get_parameters(), init(), and operator()().

const Wrapper_in* utilities::Filter_ersI::wrap_
private

Wrapper to read particle data from.

Referenced by operator()(), and set_wrapper().


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