v2.0.0
Loading...
Searching...
No Matches
selectionio.cpp File Reference

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>
Include dependency graph for selectionio.cpp:

Go to the source code of this file.

Detailed Description

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

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Andreas Griesshammer ag@fi.nosp@m.eldl.nosp@m.inein.nosp@m.c.co.nosp@m.m
Since
0.1.0
Date
May 2015

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.