Container for all recordings collected within a single experimental session for one subject. More...
#include "mna_global.h"#include "mna_recording.h"#include <QString>#include <QList>#include <QJsonObject>#include <QCborMap>#include <QSet>

Go to the source code of this file.
Classes | |
| struct | MNALIB::MnaSession |
Namespaces | |
| namespace | MNALIB |
| MNE Analysis Container Format (mna/mnx). | |
Container for all recordings collected within a single experimental session for one subject.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
MnaSession sits between MnaSubject and MnaRecording in the MNA project tree and mirrors the BIDS ses-XX directory level. It captures the natural grouping that occurs when a subject visits the scanner more than once — e.g. baseline, follow-up, intervention — without forcing those repeats into separate subject entries that would break longitudinal analyses.
The structure is intentionally thin: an opaque id (typically ses-01, ses-pre, ses-post), an ordered list of MnaRecording instances, and an extras bag for session-level sidecar metadata (date, scanner head-coil swap, paradigm version) that should round-trip losslessly even when unknown to the current MNALIB build.
Definition in file mna_session.h.