Eggeling-Lab-Microscope-Software / TRAIT2D

TRAIT2D is a cross-platform Python software package with compilable graphical user interfaces (GUIs) to support Single Particle Tracking experiments.
GNU General Public License v3.0
10 stars 10 forks source link

Master #71

Closed FReina closed 2 years ago

FReina commented 2 years ago

Most plot functions make the implicit assumption that the timestamps in the tracks are already the ones that are used for MSD and ADC analysis. This small pull request fixes that by adding a few -self._t.min() around to offset the independent variable, thus making them MSD and ADC plots against time interval, and not timestamp as it was previously.

FReina commented 2 years ago

I will merge and close this branch and release as 1.2.1 once I have tested all the functions I changed