dipfit and model co-registration · 2020. 11. 14. · novice eeglab workshop, sept 22, 2011,...
TRANSCRIPT
![Page 1: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/1.jpg)
DIPFIT and model co-registration
![Page 2: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/2.jpg)
Finding dipole locations using DIPFIT in EEGLAB
![Page 3: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/3.jpg)
Co-register to model
![Page 4: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/4.jpg)
Co-register to model, cont'd
![Page 5: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/5.jpg)
Perform translation of electrode positions
-pi/2
![Page 6: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/6.jpg)
Perform translation of electrode positions
Requires a shift toward back of the head
AND
an expansion along the X-axis
shift backward
![Page 7: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/7.jpg)
Perform translation of electrode positions
shift left resize
![Page 8: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/8.jpg)
Confirm electrode transformation
Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling
![Page 9: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/9.jpg)
Alternatively, warp to standard montage
stats toolbox required
for warping
Check to see that
electrodes are
correctly matched
![Page 10: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/10.jpg)
Check coregistration with model
![Page 11: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/11.jpg)
EEG.dipfit structure
>> EEG.dipfit
ans =
hdmfile: [1x76 char]
mrifile: [1x71 char]
chanfile: [1x83 char]
chansel: [1x33 double]
coordformat: 'spherical'
model: [1x33 struct]
current: 32
vol: [1x1 struct]
coord_transform: [0 0 -1.570796 100 76 90.87264 1 1 1]
From head model transformations
![Page 12: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/12.jpg)
DIPFIT and model co-registration
![Page 13: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/13.jpg)
Autofit equivalent dipoles
![Page 14: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/14.jpg)
Plot dipoles
![Page 15: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/15.jpg)
Scroll through dipoles
![Page 16: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/16.jpg)
Fine fit options in DIPFIT
![Page 17: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/17.jpg)
Fine fit menu
![Page 18: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/18.jpg)
Bilateral dipoles
Bilateral Ambiguous
![Page 19: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/19.jpg)
EEG.dipfit structure
>> EEG.dipfit.model ans =
1x33 struct array with fields: posxyz momxyz rv active select
>> EEG.dipfit.model(1) ans = posxyz: [1x3 double] momxyz: [1x3 double]
rv: 0.0288 active: 1 select: 1
X Y Z
[14.9791 -86.0094 47.9448]
![Page 20: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/20.jpg)
DIPFIT and model co-registration
![Page 21: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/21.jpg)
Plot scalp maps in 3D
![Page 22: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/22.jpg)
Headplot co-registration
Go through co-registration
in the same way as
with dipfit co-registration
![Page 23: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/23.jpg)
Confirm headplot co-registration
![Page 24: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/24.jpg)
Spline file in EEG structure
2D scalp map for IC 12 3D scalp map for IC 12
![Page 25: DIPFIT and model co-registration · 2020. 11. 14. · Novice EEGLAB Workshop, Sept 22, 2011, Mallorca, Spain: Julie Onton – Dipole modeling. Alternatively, warp to standard montage](https://reader035.vdocuments.us/reader035/viewer/2022071514/613681070ad5d206764811e6/html5/thumbnails/25.jpg)
Exercise
• Novice / Intermediate – Load ‘stern125.set’
– Practice co-registering electrodes with BEM model (choose 'Erase' because this dataset has co-registration done already)
– Autofit IC dipoles
– Fine fit dipoles – Plot dipoles from the GUI; scroll through components individually
– Co-register the head model for 3D scalp map plotting. Then plot some ICs in 3D
• Advanced - In the Finefit menu, try fitting a bilateral dipole, what happens to the residual variance?
- Try plotting a subset of dipoles in 'summary mode' - Try purposely misaligning electrodes with model, how far off are the resulting dipoles from the original locations?