Particle Identification and Tracking
|
computes the motion of a pair of particles in relation to each other. More...
#include <corr_pair_diffusion.h>
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_ |
computes the motion of a pair of particles in relation to each other.
Binned by their initial separation and the wait time.
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.
[in] | n_dbins | then number of bins in displacement histogram |
[in] | max_disp | the maximum displacement to consider |
[in] | n_rbins | then number of bins in separation histogram |
[in] | min_r | the minimum initial separation to consider |
[in] | max_r | the maximum initial separation to consider |
[in] | min_t | the minimum time lag to consider |
[in] | max_t | the maximum time lag to consider |
[in] | t_step | the time step to between computed frames |
|
inherited |
Adds the temperature for a plane.
References tracking::Corr::plane_count_, and tracking::Corr::temperature_sum_.
Referenced by tracking::Hash_shelf::compute_corr().
|
virtual |
takes in a particle_base object.
For correlations that need the tracking information this should throw an error or something clever like that
Implements tracking::Corr.
References data_perp_, data_prll_, tracking::particle_base::distancesq(), tracking::particle_track::get_corrected_disp(), tracking::particle_base::get_position(), utilities::Tuple< T, length >::make_unit(), max_r_, min_r_, min_r_square_, min_t_, n_rbins_, tracking::particle_track::step_forwards(), t_step_count_, and t_stride_.
|
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_.
|
virtual |
outputs the result of the computation to the wrapper
Implements tracking::Corr.
References utilities::Generic_wrapper::add_meta_data(), utilities::Generic_wrapper::close_group(), utilities::Generic_wrapper::close_wrapper(), data_perp_, data_prll_, utilities::format_name(), utilities::Generic_wrapper::is_open(), max_r_, min_r_, min_t_, n_rbins_, utilities::Generic_wrapper::open_group(), utilities::Generic_wrapper::open_wrapper(), utilities::Md_store::set_value(), t_step_count_, and t_stride_.
|
private |
Referenced by compute(), and out_to_wrapper().
|
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().
|
private |
Referenced by compute(), and out_to_wrapper().
|
private |
Referenced by get_max_range().
|
private |
Referenced by compute(), and out_to_wrapper().
|
private |
Referenced by compute().
|
private |
Referenced by compute(), and out_to_wrapper().
|
private |
Referenced by compute(), and out_to_wrapper().
|
protectedinherited |
Count of the number of planes added.
Referenced by tracking::Corr::add_plane_temperature(), tracking::Corr_gofr::out_to_wrapper(), and tracking::Corr_theta_2pt::out_to_wrapper().
|
private |
Referenced by compute(), and out_to_wrapper().
|
private |
Referenced by compute(), and out_to_wrapper().
|
protectedinherited |
The sum of the temperatures added.
Referenced by tracking::Corr::add_plane_temperature(), tracking::Corr_gofr::out_to_wrapper(), and tracking::Corr_theta_2pt::out_to_wrapper().