R/calculateAlpha.R
calculateAlpha.Rd
Alpha is the MSD exponent. Normal diffusion is alpha = 1. Subdiffusion is alpha < 1 and superdiffusion is alpha > 1. Input is a data matrix of msd curves. Output is mean of log2(alpha), one value for each trace. D, calculated from a fit of the first four data points is also outputted.
calculateAlpha(alphaMat, tstep)
matrix of msd curves, each col is a track, each row is time lag (will contain NAs)
variable. Time step in seconds
data frame