AmplitudesProcedure#

class pyCGM2.EMG.discreteEmgProcedures.AmplitudesProcedure#

Procedure to compute EMG amplitudes for each gait phase.

This class extends DiscreteEmgProcedure to specifically calculate the amplitude of EMG signals during different phases of gait. The amplitudes are calculated for each provided EMG channel and muscle.

NAME#

Descriptive name of the procedure.

Type:

str

__init__()#

Initializes the AmplitudesProcedure class.

Methods

__init__()

Initializes the AmplitudesProcedure class.

detect(analysisInstance, emgLabels, ...)

Compute amplitudes for each gait phase.

Attributes

NAME

detect(analysisInstance: Analysis, emgLabels: List[str], emgMuscles: List[str], emgContexts: List[str]) DataFrame#

Compute amplitudes for each gait phase.

Parameters:
  • analysisInstance (Analysis) – An instance of the Analysis class containing EMG and gait data.

  • emgLabels (List[str]) – List of EMG channel labels.

  • emgMuscles (List[str]) – List of corresponding muscle names.

  • emgContexts (List[str]) – List of event contexts associated with each muscle.

Returns:

pd.DataFrame – A DataFrame containing computed amplitude values for each muscle, context, and gait phase.