Skip to content

Commit cda31aa

Browse files
authored
Merge pull request #92 from sccn/sccn.github.io_edit
Sccn.GitHub.io edit
2 parents 5467d4e + f18165a commit cda31aa

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tutorials/09_source/EEG_sources.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ long_title: c. EEG source model
55
parent: 9. Source analysis
66
grand_parent: Tutorials
77
---
8-
Equivalent dipole source localization of EEG data
8+
Equivalent dipole source localization of EEG or ERP data
99
========================================
1010
{: .no_toc }
1111

@@ -21,9 +21,9 @@ Equivalent dipole source localization of EEG data
2121
Using DIPFIT to fit one dipole to EEG or ERP scalp maps
2222
--------
2323

24-
Though the implementation of the DIPFIT plugin has not been expressly
25-
designed to fit dipoles to raw ERP or EEG scalp maps, EEGLAB provides a
26-
command-line function allowing DIPFIT to do so. Fitting may only be
24+
EEGLAB provides a command-line implementation of the [DIPFIT plugin](https://github.com/sccn/dipfit) to fit
25+
dipoles to raw ERP or EEG scalp maps that has otherwise not been
26+
expressly designed anywhere else. Fitting may only be
2727
performed at selected time points, not throughout a time window. First,
2828
you must specify the DIPFIT settings on the selected dataset. Then, to fit a
2929
time point at 100 ms in an average ERP waveform (for example) from the
@@ -67,7 +67,7 @@ Its graphical output is the same as the script shown in the next section.
6767
Advanced source reconstruction using DIPFIT/Fieldtrip
6868
--------
6969

70-
DIPFIT relies on Fieldtrip, though in fact, DIPFIT was also an ancestor
70+
Background: DIPFIT relies on Fieldtrip, though in fact, DIPFIT was also an ancestor
7171
of Fieldtrip: when Robert Oostenveld, the first Fieldtrip developer,
7272
decided to release source imaging functions he had developed during his
7373
dissertation work, he first packaged them in EEGLAB as DIPFIT. A few
@@ -78,7 +78,7 @@ maintained for use in Fieldtrip. Below is a short tutorial on how to
7878
perform source modeling using Fieldtrip applied to data in an EEGLAB
7979
dataset.
8080

81-
First, use DIPFIT to align the electrode
81+
Implementation: First, use DIPFIT to align the electrode
8282
locations with a head model of choice (menu item <span style="color: brown">Tools → Locate
8383
dipoles using DIPFIT → Head model and settings</span>). The resulting DIPFIT
8484
information may then be used to perform source localization in
@@ -110,6 +110,7 @@ Then calculate a volumetric leadfield matrix using Fieldtrip function
110110
*ft_prepare_leadfield*. Note that the head model is also used to
111111
assess whether a given voxel is within or outside the brain.
112112

113+
113114
``` matlab
114115
%% Leadfield Matrix calculation
115116
dataPre = eeglab2fieldtrip(EEG, 'preprocessing', 'dipfit'); % convert the EEG data structure to fieldtrip
@@ -308,6 +309,7 @@ Relevant Fieldtrip tutorials
308309
- [Minimum norm
309310
estimates](http://www.fieldtriptoolbox.org/tutorial/minimumnormestimate/)
310311
for MEG, but can be adapted for EEG
312+
- [Previous tutorial version of DIPFIT](https://sccn.ucsd.edu/eeglab/dipfittut/dipfit.htmlold)
311313

312314
This section was written by Arnaud Delorme with contributions and
313315
feedback from Robert Oostenveld and Scott Makeig.

0 commit comments

Comments
 (0)