Reader / writer for MNE .sel channel-selection files and Brainstorm .mon montage files.
More...
#include "utils_global.h"#include <vector>#include <string>#include <map>#include <QMap>#include <QStringList>

Go to the source code of this file.
Classes | |
| class | UTILSLIB::SelectionIO |
| Reader/writer for MNE .sel channel-selection files and Brainstorm .mon montage files. More... | |
Namespaces | |
| namespace | UTILSLIB |
| Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms). | |
Reader / writer for MNE .sel channel-selection files and Brainstorm .mon montage files.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2015-2026 MNE-CPP Authors
UTILSLIB::SelectionIO converts between two text-based grouping formats that mne-cpp's GUI tools and command-line pipelines hand back and forth with sibling toolchains:
.sel — one selection group per line, holding the channels visible in a given montage ("Left-temporal", "All MEG", ...); shared with mne-python and mne-c..mon — one montage definition per file, used by the Brainstorm GUI for the same purpose.Both directions are supported (single-file .sel, fanned- out .mon set) and both QString and std::string overloads exist so the parser can be used from the Qt GUI layer and from headless tests without a string conversion.
Definition in file selectionio.h.