Implementation of the MNE .sel and Brainstorm .mon parsers declared in selectionio.h.
More...
#include "selectionio.h"#include <iostream>#include <fstream>#include <sstream>#include <QFileInfo>#include <QTextStream>#include <QFile>#include <QDebug>#include <QScreen>
Go to the source code of this file.
Implementation of the MNE .sel and Brainstorm .mon parsers declared in selectionio.h.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2015-2026 MNE-CPP Authors
Parsing is line-oriented and intentionally lenient: comment lines (#) and blank lines are skipped, trailing whitespace is stripped, and channel names are matched case-sensitively because FIFF names are case-sensitive themselves. The writer preserves the original group ordering so a round-trip load/save through mne-cpp does not reshuffle a user's selections.
Definition in file selectionio.cpp.