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/19 12:47] – sgranger | visual3d:documentation:emg:filtering:integrate_emg [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ==== computing the emg envelope using rectify and lowpass filter | + | ===== Linear Envelope ===== |
- | this section will compute | + | === Computing |
- | ==== 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)) |
- | the default lowpass filter in visual3d is a fourth order butterworth filter. | + | === Lowpass Filter Cutoff === |
- | butterworth | + | The default lowpass filter in Visual3D is a fourth order butterworth |
- | the maximum theoretical | + | Butterworth filters have an upper limit on the magnitude of the cutoff frequency. |
- | visual3d is a little more conservative than that because we have found the filter to be unreliable at the theoretical | + | The maximum |
- | the highest cutoff frequency that visual3d will allow you is 0.393* sampling-rate. | + | VIsual3D |
- | if your emg signals are sampled at 1000 hz, the highest cutoff frequency is 393 hz. | + | The highest cutoff frequency |
- | ==== example script ==== | + | If your EMG signals are sampled at 1000 Hz, the highest cutoff frequency is 393 Hz. |
- | the highpass filter is not part of the linear envelope, but is used to remove the [[visual3d:documentation:emg:processing:detecting_muscle_onset|dc offset]]. | + | === Example Script === |
+ | |||
+ | The highpass filter is not part of the linear envelope, but is used to remove the [[Visual3D:Documentation:EMG:Processing:Detecting_Muscle_Onset|DC offset]]. | ||
< | < | ||
- | ! apply high pass filter with 50 hz cutoff | + | ! Apply high pass filter with 50 hz cutoff |
- | highpass_filter | + | Highpass_Filter |
- | /signal_types=analog | + | /Signal_Types=ANALOG |
- | /signal_names=emg1+emg2+emg3 | + | /SIgnal_Names=EMG1+EMG2+EMG3 |
- | /signal_folder=original | + | /Signal_Folder=ORIGINAL |
- | ! /result_suffix= | + | ! /Result_Suffix= |
- | /result_folder=highpass | + | /Result_Folder=HIGHPASS |
- | ! /filter_class=butterworth | + | ! /Filter_Class=BUTTERWORTH |
- | /frequency_cutoff=50 | + | /Frequency_Cutoff=50 |
- | /num_reflected= 0 | + | /Num_Reflected= 0 |
- | /total_buffer_size=100 | + | /Total_Buffer_Size=100 |
- | /num_bidirectional_passes=1 | + | /Num_Bidirectional_Passes=1 |
; | ; | ||
- | ! rectify | + | ! Rectify |
- | rectify | + | Rectify |
- | /signal_types=analog | + | /SIGNAL_TYPES=ANALOG |
- | /signal_names=emg1+emg2+emg3 | + | /SIGNAL_NAMES=EMG1+EMG2+EMG3 |
- | /signal_folder=highpass | + | /SIGNAL_FOLDER=HIGHPASS |
- | ! /result_names= | + | ! /RESULT_NAMES= |
- | ! /result_types= | + | ! /RESULT_TYPES= |
- | /result_folder=rectify | + | /RESULT_FOLDER=RECTIFY |
- | ! /result_suffix= | + | ! /RESULT_SUFFIX= |
; | ; | ||
- | ! apply a low pass filter | + | ! Apply a low pass filter |
- | lowpass_filter | + | Lowpass_Filter |
- | /signal_types= analog | + | /Signal_Types= ANALOG |
- | /signal_names= emg1+emg2+emg3 | + | /Signal_Names= EMG1+EMG2+EMG3 |
- | /signal_folder= rectify | + | /Signal_Folder= RECTIFY |
- | ! /result_suffix= | + | ! /Result_Suffix= |
- | /result_folder=lowpass | + | /Result_Folder=LOWPASS |
- | /frequency_cutoff=10 | + | /Frequency_Cutoff=10 |
- | /num_reflected=50 | + | /Num_Reflected=50 |
; | ; | ||
</ | </ |
visual3d/documentation/emg/filtering/integrate_emg.1718801261.txt.gz · Last modified: 2024/06/19 12:47 by sgranger