getNormalBurstActivity_fromCycles#

pyCGM2.EMG.normalActivation.getNormalBurstActivity_fromCycles(muscle: str, ff: int, begin: int, fo: int, end: int, apf: int) → Tuple[List, List]#

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

This function calculates the normal burst activity timings for a specified muscle during a specific gait cycle. The muscle’s normal activation timings are adjusted based on the cycle’s start, foot off, and end frame numbers.

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

  • ff (int) – First frame of the btk.Acquisition.

  • begin (int) – Initial frame of the gait cycle.

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

  • end (int) – Final frame of the gait cycle.

  • apf (int) – Number of analog samples per frame.

Returns:

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