getNormalBurstActivity#

pyCGM2.EMG.normalActivation.getNormalBurstActivity(muscle: str, fo: int)#

Get onsets and offsets of a specific muscle’s normal burst activity.

This function retrieves the normal burst activity for a specified muscle based on the data in ‘normalActivation.json’. It calculates the muscle’s normal activation timings relative to the stance phase of a gait cycle.

Parameters:
  • muscle (str) – Muscle label listed in ‘normalActivation.json’.

  • fo (int) – Foot off frame number in the gait cycle.

Returns:

Tuple[List[int], List[int]] – Two lists containing the start frames and durations of the muscle’s burst activities.