Read a montage from a file.
File extension is expected to be: ‘.loc’ or ‘.locs’ or ‘.eloc’ (for EEGLAB files), ‘.sfp’ (BESA/EGI files), ‘.csd’, ‘.elc’, ‘.txt’, ‘.csd’, ‘.elp’ (BESA spherical), ‘.bvef’ (BrainVision files), ‘.csv’, ‘.tsv’, ‘.xyz’ (XYZ coordinates).
float
| None
The size of the head (radius, in [m]). If None
, returns the values
read from the montage file with no modification. Defaults to 0.095m.
str
| None
The coordinate frame of the points. Usually this is “unknown” for native digitizer space. Defaults to None, which is “unknown” for most readers but “head” for EEGLAB.
New in version 0.20.
DigMontage
The montage.
See also
Notes
The function is a helper to read electrode positions you may have
in various formats. Most of these format are weakly specified
in terms of units, coordinate systems. It implies that setting
a montage using a DigMontage produced by this function may
be problematic. If you use a standard/template (eg. 10/20,
10/10 or 10/05) we recommend you use make_standard_montage()
.
If you can have positions in memory you can also use
make_dig_montage()
that takes arrays as input.
mne.channels.read_custom_montage
#Importing data from fNIRS devices
EEG source localization given electrode locations on an MRI