Skip to content

Commit d6cfaf5

Browse files
Add EMG tutorial figures and update image paths
- Add 6 tutorial figures for EMG processing workflow - Update markdown to use consistent image paths in /assets/images/ - Figures: raw data, spectopo, preprocessing, envelope computation, envelope needed demo, ERP lateralization
1 parent 7b679a3 commit d6cfaf5

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

assets/images/emg_eegplot_raw.png

671 KB
Loading
653 KB
Loading
562 KB
Loading
147 KB
Loading
489 KB
Loading

assets/images/emg_spectopo.png

866 KB
Loading

tutorials/misc/EEGLAB_and_EMG_data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This opens an interactive window where you can:
9898
- Identify noisy channels or artifacts
9999
- Adjust the display scale and time window
100100

101-
![Raw EMG Data Viewer](/assets/images/emg_tutorial/eegplot_raw_emg.png)
101+
![Raw EMG Data Viewer](/assets/images/emg_eegplot_raw.png)
102102

103103
**Note for EMG:** The scrolling viewer works the same as for EEG, but expect:
104104
- Higher amplitude signals (µV to mV range)
@@ -139,7 +139,7 @@ This displays:
139139
- Frequency range up to 500 Hz (appropriate for EMG)
140140
- **Important**: We set `'freq', []` to disable topoplots - they are NOT meaningful for EMG data since electrodes are on forearm muscles, not scalp
141141

142-
![EMG Power Spectrum](/assets/images/emg_tutorial/spectopo_emg.png)
142+
![EMG Power Spectrum](/assets/images/emg_spectopo.png)
143143

144144
**Expected pattern:** Most EMG power should be concentrated in the 20-250 Hz range, with peaks around 50-150 Hz for muscle activity.
145145

@@ -184,7 +184,7 @@ After filtering, you should see:
184184
- Cleaner baseline
185185
- Preserved event-related transients
186186

187-
![Preprocessing Comparison](/assets/images/emg_tutorial/figure3_preprocessed_comparison.png)
187+
![Preprocessing Comparison](/assets/images/emg_preprocessed_comparison.png)
188188

189189
## Data cleaning with clean_rawdata
190190

@@ -369,14 +369,14 @@ EEG.etc.envelope_cutoff = envelope_cutoff;
369369

370370
### Visualization: Why envelope is necessary
371371

372-
![Envelope Computation](/assets/images/emg_tutorial/figure3c_envelope_computation.png)
372+
![Envelope Computation](/assets/images/emg_envelope_computation.png)
373373

374374
This figure shows the three stages:
375375
1. **Filtered EMG** (gray): High-frequency oscillations around zero
376376
2. **Rectified EMG** (blue): All positive, but still noisy
377377
3. **Envelope** (red): Smooth curve showing muscle activation
378378

379-
![Why Envelope Needed](/assets/images/emg_tutorial/figure3e_why_envelope_needed.png)
379+
![Why Envelope Needed](/assets/images/emg_envelope_needed.png)
380380

381381
This comparison demonstrates:
382382
- **Left**: ERP from raw filtered EMG - noisy and weak
@@ -644,7 +644,7 @@ left_channels = [1 5 9 13]; % Sample across the array
644644
figure; pop_plotdata(EEG_a, 1, left_channels, 'EMG-ERP: Left Hand Key "a"');
645645
```
646646

647-
![EMG-ERP Using EEGLAB](/assets/images/emg_tutorial/pop_plottopo_emg.png)
647+
![EMG-ERP Lateralization](/assets/images/emg_erp_lateralization.png)
648648

649649
**Important for EMG:**
650650
- EEGLAB's topoplot (scalp maps) is NOT meaningful for EMG data

0 commit comments

Comments
 (0)