User Tools

Site Tools


visual3d:documentation:emg:processing:normalize_emg_signal_to_maximum_within_gait_cycle

Normalize EMG Signal to Maximum Within Gait Cycle

Integrate EMG

Integrating an EMG envelope between events

The result of integrating a signal is a single metric value per event range. For example, the commands below will integrate an EMG signal between events from Start to End

! Apply high pass filter with 50 hz cutoff
Highpass_Filter 
/Signal_Types=ANALOG 
/SIgnal_Names=EMG1+EMG2+EMG3 
/Signal_Folder=ORIGINAL 
! /Result_Suffix= 
! /Result_Folder=PROCESSED 
! /Filter_Class=BUTTERWORTH 
/Frequency_Cutoff=50 
/Num_Reflected= 0 
/Total_Buffer_Size=100 
/Num_Bidirectional_Passes=1 
; 

! Apply low pass filter with 500 hz cutoff
Lowpass_Filter 
/Signal_Types=ANALOG 
/SIgnal_Names=EMG1+EMG2+EMG3 
/Signal_Folder=PROCESSED 
! /Result_Suffix= 
! /Result_Folder=PROCESSED 
! /Filter_Class=BUTTERWORTH 
/Frequency_Cutoff=500 
/Num_Reflected= 0 
/Total_Buffer_Size=100 
/Num_Bidirectional_Passes=1 
;

! RMS moving average with a 100ms window
Moving_RMS 
/SIGNAL_TYPES=ANALOG 
/SIGNAL_NAMES=EMG1+EMG2+EMG3 
/SIGNAL_FOLDER=PROCESSED 
! /RESULT_SUFFIX= 
/RESULT_FOLDER=RMS 
/NUM_WINDOW_FRAMES=1+0.1*PARAMETER::ANALOG::RATE 
; 

! Integrates an EMG signal between events from Start to End 
Metric_Integrate
/RESULT_METRIC_NAME=_INT
/APPLY_AS_SUFFIX_TO_SIGNAL_NAME=TRUE
! /RESULT_METRIC_FOLDER=PROCESSED
/SIGNAL_TYPES=ANALOG
/SIGNAL_NAMES=EMG1+EMG2+EMG3
/SIGNAL_FOLDER=RMS
! /SIGNAL_COMPONENTS=ALL_COMPONENTS
/EVENT_SEQUENCE=START+END
/EXCLUDE_EVENTS=
/GENERATE_MEAN_AND_STDDEV=FALSE
/APPEND_TO_EXISTING_VALUES=FALSE
;
visual3d/documentation/emg/processing/normalize_emg_signal_to_maximum_within_gait_cycle.txt · Last modified: 2024/07/17 11:45 by sgranger