pyfim.analysis.bending_strength

pyfim.analysis.bending_strength(exp, during=None)

Calculates the median (!) bending strength 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.
  • during ({'stop','go', None}, optional) – Use to restrict to stop or go-phases.

Notes

This function determines the bending strength by (1) taking all bending angles, (2) thresholding them and (3) getting the median bending angle. You can finetune this behaviour using the following parameter in the config file:

  • BENDING_ANGLE_THRESHOLD_FOR_BENDING_STRENGTH: minimum bending angle
Returns:Median bending strengths [angle] – Returns NaN if no bends.
Return type:pandas.DataFrame