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

Reader/writer for the BIDS _channels.tsv sidecar — one record per recorded channel. More...

#include "bids_global.h"
#include <QString>
#include <QList>
Include dependency graph for bids_channel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BIDSLIB::BidsChannel
 Channel metadata record corresponding to one row in *_channels.tsv. More...

Namespaces

namespace  BIDSLIB
 BIDS dataset reading, writing, path construction, and sidecar metadata handling for iEEG/EEG/MEG.

Detailed Description

Reader/writer for the BIDS _channels.tsv sidecar — one record per recorded channel.

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.1.0
Date
March 2026

BIDS mandates that every electrophysiology recording (MEG, EEG, iEEG) ship a sibling _channels.tsv with one row per channel describing name, type and units (REQUIRED) plus optional sampling / filter / status / description columns. BidsChannel is the in-memory row record and the static BidsChannel::readTsv / BidsChannel::writeTsv functions perform the TSV round-trip via BidsTsv. The BIDS channel-type vocabulary (MEGMAG, EEG, ECOG, SEEG, DBS, TRIG, …) maps to FIFF channel kinds through the tables in bids_const.h, so a channel record read from a BIDS dataset can be merged into a FIFFLIB::FiffInfo without an additional translation layer.

Spec: https://bids-specification.readthedocs.io/en/stable/modality-specific-files/electrophysiology.html

Definition in file bids_channel.h.