Compute the ensemble mean squared displacements of many particles.
Parameters: | traj : DataFrame of trajectories of multiple particles, including
mpp : microns per pixel fps : frames per second max_lagtime : intervals of frames out to which MSD is computed
detail : Set to True to include <x>, <y>, <x^2>, <y^2>. Returns
|
---|---|
Returns: | Series[msd, index=t] or, if detail=True, DataFrame([<x>, <y>, <x^2>, <y^2>, msd], index=t) |
Notes
Input units are pixels and frames. Output units are microns and seconds.