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


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. | |
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
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.