v2.0.0
Loading...
Searching...
No Matches
BIDSLIB Namespace Reference

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

Classes

struct  BidsChannel
 Channel metadata record corresponding to one row in *_channels.tsv. More...
struct  BidsCoordinateSystem
 Coordinate system metadata from *_coordsystem.json. More...
struct  BidsDatasetDescription
 Dataset-level metadata from dataset_description.json. More...
struct  BidsElectrode
 Electrode position record corresponding to one row in *_electrodes.tsv. More...
struct  BidsEvent
 Single event annotation, typically parsed from or written to *_events.tsv. More...
class  BIDSPath
 BIDS-compliant path and filename construction. More...
class  BidsRawData
 Central container for a BIDS raw dataset, bundling electrophysiological data with all associated sidecar metadata. More...
class  BidsTsv
 Generic BIDS TSV file I/O. More...
class  AbstractFormatReader
 The AbstractFormatReader class provides a common interface for reading raw neurophysiology data from various file formats (EDF, BrainVision, etc.) used in BIDS datasets. More...
struct  BrainVisionMarker
 Marker entry from the .vmrk file. More...
struct  BrainVisionChannelInfo
 Channel info from the .vhdr header. More...
class  BrainVisionReader
 The BrainVisionReader reads BrainVision file triplets (.vhdr/.vmrk/.eeg) and exposes them through the AbstractFormatReader interface. More...
struct  EDFChannelInfo
 Channel-level metadata from the EDF header. More...
class  EDFReader
 The EDFReader reads European Data Format (EDF/EDF+) files and exposes them through the AbstractFormatReader interface. More...

Typedefs

using BidsTsvRow = QMap<QString, QString>

Enumerations

enum class  BVBinaryFormat { INT_16 , INT_32 , IEEE_FLOAT_32 }
 Binary format enumeration for BrainVision data files. More...
enum class  BVOrientation { MULTIPLEXED , VECTORIZED }
 Data orientation enumeration. More...

Functions

QStringList allowedElectrophysiologyDatatypes ()
QStringList allowedDatatypes ()
QStringList ieegAllowedExtensions ()
QStringList eegAllowedExtensions ()
QMap< int, QString > fiffKindToBidsType ()
QMap< QString, int > bidsTypeToFiffKind ()
QMap< QString, int > bidsCoordToFiffFrame ()
QMap< int, QString > fiffFrameToBidsCoord ()
QStringList ieegAllowedCoordSystems ()
QStringList bidsEntityOrder ()
BIDSSHARED_EXPORT const char * buildDateTime ()
BIDSSHARED_EXPORT const char * buildHash ()
BIDSSHARED_EXPORT const char * buildHashLong ()

Variables

const QString BIDS_DATATYPE_MEG = QStringLiteral("meg")
const QString BIDS_DATATYPE_EEG = QStringLiteral("eeg")
const QString BIDS_DATATYPE_IEEG = QStringLiteral("ieeg")
const QString BIDS_DATATYPE_ANAT = QStringLiteral("anat")
const QString BIDS_DATATYPE_FUNC = QStringLiteral("func")
const QString BIDS_DATATYPE_BEH = QStringLiteral("beh")

Detailed Description

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

Typedef Documentation

◆ BidsTsvRow

using BIDSLIB::BidsTsvRow = QMap<QString, QString>

Represents a single row of a BIDS TSV file as a column-name → value map.

Definition at line 65 of file bids_tsv.h.

Enumeration Type Documentation

◆ BVBinaryFormat

enum class BIDSLIB::BVBinaryFormat
strong

Binary format enumeration for BrainVision data files.

Enumerator
INT_16 
INT_32 
IEEE_FLOAT_32 

Definition at line 93 of file bids_brain_vision_reader.h.

◆ BVOrientation

enum class BIDSLIB::BVOrientation
strong

Data orientation enumeration.

Enumerator
MULTIPLEXED 
VECTORIZED 

Definition at line 103 of file bids_brain_vision_reader.h.

Function Documentation

◆ allowedDatatypes()

QStringList BIDSLIB::allowedDatatypes ( )
inline

All allowed BIDS datatypes.

Definition at line 74 of file bids_const.h.

◆ allowedElectrophysiologyDatatypes()

QStringList BIDSLIB::allowedElectrophysiologyDatatypes ( )
inline

All allowed BIDS electrophysiology datatypes.

Definition at line 68 of file bids_const.h.

◆ bidsCoordToFiffFrame()

QMap< QString, int > BIDSLIB::bidsCoordToFiffFrame ( )
inline

Maps BIDS coordinate system names to FIFF coordinate frame constants. Used for electrodes.tsv / coordsystem.json handling.

Definition at line 161 of file bids_const.h.

◆ bidsEntityOrder()

QStringList BIDSLIB::bidsEntityOrder ( )
inline

Entity key ordering for BIDS filenames (per specification).

Definition at line 216 of file bids_const.h.

◆ bidsTypeToFiffKind()

QMap< QString, int > BIDSLIB::bidsTypeToFiffKind ( )
inline

Maps BIDS channel type strings back to FIFF channel kind constants. Reference: BIDS specification Appendix VII.

Definition at line 134 of file bids_const.h.

◆ buildDateTime()

const char * BIDSLIB::buildDateTime ( )

Returns build date and time.

Definition at line 45 of file bids_global.cpp.

◆ buildHash()

const char * BIDSLIB::buildHash ( )

Returns abbreviated build git hash.

Definition at line 49 of file bids_global.cpp.

◆ buildHashLong()

const char * BIDSLIB::buildHashLong ( )

Returns full build git hash.

Definition at line 53 of file bids_global.cpp.

◆ eegAllowedExtensions()

QStringList BIDSLIB::eegAllowedExtensions ( )
inline

Supported raw data file extensions for EEG in BIDS.

Definition at line 95 of file bids_const.h.

◆ fiffFrameToBidsCoord()

QMap< int, QString > BIDSLIB::fiffFrameToBidsCoord ( )
inline

Maps FIFF coordinate frame constants to BIDS coordinate system names.

Definition at line 178 of file bids_const.h.

◆ fiffKindToBidsType()

QMap< int, QString > BIDSLIB::fiffKindToBidsType ( )
inline

Maps FIFF channel kind constants to BIDS channel type strings. Reference: BIDS specification Appendix VII.

Definition at line 112 of file bids_const.h.

◆ ieegAllowedCoordSystems()

QStringList BIDSLIB::ieegAllowedCoordSystems ( )
inline

Allowed coordinate systems for iEEG electrodes (BIDS-iEEG spec).

Definition at line 193 of file bids_const.h.

◆ ieegAllowedExtensions()

QStringList BIDSLIB::ieegAllowedExtensions ( )
inline

Supported raw data file extensions for iEEG in BIDS.

Definition at line 85 of file bids_const.h.

Variable Documentation

◆ BIDS_DATATYPE_ANAT

const QString BIDSLIB::BIDS_DATATYPE_ANAT = QStringLiteral("anat")

Definition at line 63 of file bids_const.h.

◆ BIDS_DATATYPE_BEH

const QString BIDSLIB::BIDS_DATATYPE_BEH = QStringLiteral("beh")

Definition at line 65 of file bids_const.h.

◆ BIDS_DATATYPE_EEG

const QString BIDSLIB::BIDS_DATATYPE_EEG = QStringLiteral("eeg")

Definition at line 61 of file bids_const.h.

◆ BIDS_DATATYPE_FUNC

const QString BIDSLIB::BIDS_DATATYPE_FUNC = QStringLiteral("func")

Definition at line 64 of file bids_const.h.

◆ BIDS_DATATYPE_IEEG

const QString BIDSLIB::BIDS_DATATYPE_IEEG = QStringLiteral("ieeg")

Definition at line 62 of file bids_const.h.

◆ BIDS_DATATYPE_MEG

const QString BIDSLIB::BIDS_DATATYPE_MEG = QStringLiteral("meg")

BIDS datatype strings used in directory and filename construction.

Definition at line 60 of file bids_const.h.