visual3d:documentation:emg:filtering:integrate_emg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:emg:filtering:integrate_emg [2024/06/17 17:03] – removed sgranger | visual3d:documentation:emg:filtering:integrate_emg [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Integrate EMG ====== | ||
+ | |||
+ | ===== Linear Envelope ===== | ||
+ | |||
+ | === Computing the EMG Envelope using rectify and lowpass filter === | ||
+ | |||
+ | This section will compute the EMG Envelope using rectify and lowpass filter. Rectify takes the absolute value of every element of a signal. Visual3D calculates signal rectification using the following formula: x(ti)= abs(x(ti)) | ||
+ | |||
+ | === Lowpass Filter Cutoff === | ||
+ | |||
+ | The default lowpass filter in Visual3D is a fourth order butterworth filter. | ||
+ | |||
+ | Butterworth filters have an upper limit on the magnitude of the cutoff frequency. | ||
+ | |||
+ | The maximum theoretical cutoff frequency is (sampling_rate*0.802/ | ||
+ | |||
+ | VIsual3D is a little more conservative than that because we have found the filter to be unreliable at the theoretical limits. | ||
+ | |||
+ | The highest cutoff frequency that VIsual3D will allow you is 0.393* sampling-rate. | ||
+ | |||
+ | If your EMG signals are sampled at 1000 Hz, the highest cutoff frequency is 393 Hz. | ||
+ | |||
+ | === Example Script === | ||
+ | |||
+ | The highpass filter is not part of the linear envelope, but is used to remove the [[Visual3D: | ||
+ | |||
+ | < | ||
+ | ! Apply high pass filter with 50 hz cutoff | ||
+ | Highpass_Filter | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Rectify the signals | ||
+ | Rectify | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! Apply a low pass filter | ||
+ | Lowpass_Filter | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
visual3d/documentation/emg/filtering/integrate_emg.1718643837.txt.gz · Last modified: 2024/06/17 17:03 by sgranger