-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7cefd8
commit 3a0383a
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,18 @@ | |
.. _ex-interpolate-to-any-montage: | ||
====================================================== | ||
Interpolate EEG data to a any montage | ||
Interpolate EEG data to any montage | ||
====================================================== | ||
This example demonstrates how to interpolate EEG channels to match a given | ||
montage using the :func:`interpolate_to` method. This can be useful for standardizing | ||
EEG channel layouts across different datasets. | ||
EEG channel layouts across different datasets (see :footcite:`MellotEtAl2024`). | ||
- Using the MNE method for interpolation. | ||
- The target montage will be the standard "standard_1020" montage. | ||
- Using the field interpolation for EEG data. | ||
- Using the target montage "biosemi16". | ||
In this example, the data from the original EEG channels will be | ||
interpolated onto the positions defined by the "standard_1020" montage. | ||
interpolated onto the positions defined by the "biosemi16" montage. | ||
""" | ||
|
||
# Authors: Antoine Collas <[email protected]> | ||
|
@@ -41,7 +41,7 @@ | |
|
||
# %% | ||
# Define the target montage | ||
standard_montage = make_standard_montage("standard_1020") | ||
standard_montage = make_standard_montage("biosemi16") | ||
|
||
# %% | ||
# Use interpolate_to to project EEG data to the standard montage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters