struct traj::DiffusionFitResult#

Overview#

Linear Einstein fit of total, 1D axial, and 2D lateral MSD. More…

#include <src/include/internal/trajectory.hpp>
 
struct DiffusionFitResult {
    // fields
 
    double dTotal = 0.0;
    double dAxial = 0.0;
    double dLateral = 0.0;
    double alpha = std::numeric_limits<double>::quiet_NaN();
    bool alphaFitted = false;
    double r2Total = 0.0;
};

Detailed Documentation#

Linear Einstein fit of total, 1D axial, and 2D lateral MSD.

Fields#

double alpha = std::numeric_limits<double>::quiet_NaN()

NaN unless alphaFitted: the window needs two lags with t > 0 and MSD_total > 1e-20 for the log-log fit.