v2.0.0
Loading...
Searching...
No Matches
mna_session.h File Reference

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>
Include dependency graph for mna_session.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MNALIB::MnaSession

Namespaces

namespace  MNALIB
 MNE Analysis Container Format (mna/mnx).

Detailed Description

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

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.