pyfim.analysis.stop_duration¶
-
pyfim.analysis.
stop_duration
(exp)¶ Calculates mean duration of a stop. This analysis is based on MatLab code by Dimitri Berh (University of Muenster, Germany).
Notes
This function measures the average length of phases in which go_phase is zero. You can finetune this behaviour by adjusting the following parameter in the config file:
- MIN_STOP_PHASE: minimum number of frames for a stop
Parameters: exp (pyfim.Experiment) – Experiment holding the raw data. Returns: Mean stop duration [Frames] Return type: pandas.DataFrame