Particle Identification and Tracking
Public Member Functions | Protected Attributes | Private Attributes | List of all members
tracking::Corr_pair_diffusion Class Reference

computes the motion of a pair of particles in relation to each other. More...

#include <corr_pair_diffusion.h>

+ Inheritance diagram for tracking::Corr_pair_diffusion:
+ Collaboration diagram for tracking::Corr_pair_diffusion:

Public Member Functions

void compute (const particle *, const std::vector< const particle * > &)
 takes in a particle_base object. More...
 
void out_to_wrapper (utilities::Generic_wrapper &wrapper_out, const std::string &g_name, const utilities::Md_store *md_store) const
 outputs the result of the computation to the wrapper More...
 
 Corr_pair_diffusion (unsigned int n_dbins, float max_disp, unsigned int n_rbins, float min_r, float max_r, unsigned int min_t, unsigned int t_stride, unsigned int t_step_count)
 constructor. More...
 
float get_max_range () const
 returns the maximum range that the Corr object looks out to. More...
 
void add_plane_temperature (float temp)
 Adds the temperature for a plane. More...
 

Protected Attributes

float temperature_sum_
 The sum of the temperatures added. More...
 
unsigned int plane_count_
 Count of the number of planes added. More...
 

Private Attributes

std::vector< std::vector
< utilities::Histogram > > 
data_prll_
 Main data structure. More...
 
std::vector< std::vector
< utilities::Histogram > > 
data_perp_
 
const float min_r_
 
const float max_r_
 
const unsigned int n_rbins_
 
const float min_r_square_
 
const float max_r_square_
 
const unsigned int min_t_
 
const unsigned int t_stride_
 
const unsigned int t_step_count_
 

Detailed Description

computes the motion of a pair of particles in relation to each other.

Binned by their initial separation and the wait time.

Constructor & Destructor Documentation

Corr_pair_diffusion::Corr_pair_diffusion ( unsigned int  n_dbins,
float  max_disp,
unsigned int  n_rbins,
float  min_r,
float  max_r,
unsigned int  min_t,
unsigned int  t_stride,
unsigned int  t_step_count 
)

constructor.

Parameters
[in]n_dbinsthen number of bins in displacement histogram
[in]max_dispthe maximum displacement to consider
[in]n_rbinsthen number of bins in separation histogram
[in]min_rthe minimum initial separation to consider
[in]max_rthe maximum initial separation to consider
[in]min_tthe minimum time lag to consider
[in]max_tthe maximum time lag to consider
[in]t_stepthe time step to between computed frames

Member Function Documentation

void Corr::add_plane_temperature ( float  temp)
inherited

Adds the temperature for a plane.

References tracking::Corr::plane_count_, and tracking::Corr::temperature_sum_.

Referenced by tracking::Hash_shelf::compute_corr().

void Corr_pair_diffusion::compute ( const particle ,
const std::vector< const particle * > &   
)
virtual
float tracking::Corr_pair_diffusion::get_max_range ( ) const
inlinevirtual

returns the maximum range that the Corr object looks out to.

This is needed so that the Hash_shelf can properly limit the particles that it hands in

Implements tracking::Corr.

References max_r_square_.

void Corr_pair_diffusion::out_to_wrapper ( utilities::Generic_wrapper ,
const std::string &  ,
const utilities::Md_store  
) const
virtual

Member Data Documentation

std::vector< std::vector<utilities::Histogram> > tracking::Corr_pair_diffusion::data_perp_
private

Referenced by compute(), and out_to_wrapper().

std::vector< std::vector<utilities::Histogram> > tracking::Corr_pair_diffusion::data_prll_
private

Main data structure.

2 levels of nesting, outer layer is time, inner layer is initial separation. Histogram object take care of the displacement layer.

Referenced by compute(), and out_to_wrapper().

const float tracking::Corr_pair_diffusion::max_r_
private

Referenced by compute(), and out_to_wrapper().

const float tracking::Corr_pair_diffusion::max_r_square_
private

Referenced by get_max_range().

const float tracking::Corr_pair_diffusion::min_r_
private

Referenced by compute(), and out_to_wrapper().

const float tracking::Corr_pair_diffusion::min_r_square_
private

Referenced by compute().

const unsigned int tracking::Corr_pair_diffusion::min_t_
private

Referenced by compute(), and out_to_wrapper().

const unsigned int tracking::Corr_pair_diffusion::n_rbins_
private

Referenced by compute(), and out_to_wrapper().

unsigned int tracking::Corr::plane_count_
protectedinherited
const unsigned int tracking::Corr_pair_diffusion::t_step_count_
private

Referenced by compute(), and out_to_wrapper().

const unsigned int tracking::Corr_pair_diffusion::t_stride_
private

Referenced by compute(), and out_to_wrapper().

float tracking::Corr::temperature_sum_
protectedinherited

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