pyfim.analysis.peristalsis_frequency¶
-
pyfim.analysis.
peristalsis_frequency
(exp)¶ Calculates the peristalsis frequency [Hz] for each object. This analysis is based on MatLab code by Dimitri Berh (University of Muenster, Germany).
Parameters: exp (pyfim.Experiment) – Experiment holding the raw data. Notes
This function determines the number of peristalses by performing peak detection of the object’s area in its go-phases. You can finetune this behaviour using the following parameters in the config file:
- MIN_GO_PHASE: minimum length of the go phases
- MIN_PEAK_DIST: minimal distance in frames between peristalses
Returns: Mean peristalsis frequencies [Hz] Return type: pandas.DataFrame