visual3d:documentation:emg:processing:total_emg_power
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:emg:processing:total_emg_power [2024/06/17 18:15] – created sgranger | visual3d:documentation:emg:processing:total_emg_power [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Total EMG Power ====== | ||
- | + | ==== Introduction ==== | |
- | + | ||
- | + | ||
- | ===== Introduction | + | |
To determine when a muscle is activated a threshold needs to be chosen from a period of inactivity. When the signal surpasses the threshold, the muscle is turned on. There are three different ways to do so. | To determine when a muscle is activated a threshold needs to be chosen from a period of inactivity. When the signal surpasses the threshold, the muscle is turned on. There are three different ways to do so. | ||
Line 11: | Line 9: | ||
- EMG Onset based on automatic detection | - EMG Onset based on automatic detection | ||
- | ===== EMG Onset using Event_Threshold | + | ==== EMG Onset using Event_Threshold ==== |
Computing the onset of an EMG signal can be quite tricky. In this example, we describe a pipeline for a straightforward estimation of EMG onset based on the EMG envelope and [[Visual3D: | Computing the onset of an EMG signal can be quite tricky. In this example, we describe a pipeline for a straightforward estimation of EMG onset based on the EMG envelope and [[Visual3D: | ||
- | [[Emg2.jpg]] | + | {{:Emg2.jpg}} |
- | ==== Pipeline | + | === Pipeline === |
The following pipeline first includes a low pass filter, a high pass filter and a moving RMS. The first event named REST1 is created by selecting the first frame indicating the start of the rest. The second event named REST2 is created by selecting the frame number at the end of the rest. A typical threshold is median + 3*standard deviation. The median and standard deviation are then calculated by using the [[Visual3D: | The following pipeline first includes a low pass filter, a high pass filter and a moving RMS. The first event named REST1 is created by selecting the first frame indicating the start of the rest. The second event named REST2 is created by selecting the frame number at the end of the rest. A typical threshold is median + 3*standard deviation. The median and standard deviation are then calculated by using the [[Visual3D: | ||
Line 130: | Line 128: | ||
</ | </ | ||
- | ==== Pipeline for computing the number of frames the signal is on ==== | + | === Pipeline for computing the number of frames the signal is on === |
To calculate how long a signal is on or how long a muscle is active, a signal will be created to be set as zero when below the threshold, and one when the signal is above the threshold. | To calculate how long a signal is on or how long a muscle is active, a signal will be created to be set as zero when below the threshold, and one when the signal is above the threshold. | ||
Line 189: | Line 187: | ||
</ | </ | ||
- | ===== EMG Onset based on TKEO ===== | + | ==== EMG Onset based on TKEO ==== |
Computing the onset of an EMG signal can be quite tricky. In this example, we describe a pipeline for a straightforward estimation of EMG onset based on the the [[Visual3D: | Computing the onset of an EMG signal can be quite tricky. In this example, we describe a pipeline for a straightforward estimation of EMG onset based on the the [[Visual3D: | ||
- | [[Teager_Kaiser.jpg]] | + | {{:Teager_Kaiser.jpg}} |
- | ==== Pipeline | + | === Pipeline === |
The following pipeline follows the same general format as above, yet at the beginning there is a Highpass Filter and a Teager Kaiser Energy Operator instead of a Lowpass filter and a HighPass Filter. | The following pipeline follows the same general format as above, yet at the beginning there is a Highpass Filter and a Teager Kaiser Energy Operator instead of a Lowpass filter and a HighPass Filter. | ||
Line 296: | Line 294: | ||
</ | </ | ||
- | ===== EMG Onset based on Automatic Detection | + | ==== EMG Onset based on Automatic Detection ==== |
The following meta-command may be used to process EMG analog signals to find " | The following meta-command may be used to process EMG analog signals to find " | ||
Line 303: | Line 301: | ||
**Tutorial page**: [[Visual3D: | **Tutorial page**: [[Visual3D: | ||
- | |||
- | |||
visual3d/documentation/emg/processing/total_emg_power.1718648155.txt.gz · Last modified: 2024/06/17 18:15 by sgranger