v2.0.0
Loading...
Searching...
No Matches
bids_electrode.h
Go to the documentation of this file.
1//=============================================================================================================
30
31#ifndef BIDS_ELECTRODE_H
32#define BIDS_ELECTRODE_H
33
34//=============================================================================================================
35// INCLUDES
36//=============================================================================================================
37
38#include "bids_global.h"
39
40//=============================================================================================================
41// FIFF INCLUDES
42//=============================================================================================================
43
44#include <fiff/fiff_dig_point.h>
47
48//=============================================================================================================
49// QT INCLUDES
50//=============================================================================================================
51
52#include <QString>
53#include <QList>
54
55//=============================================================================================================
56// DEFINE NAMESPACE BIDSLIB
57//=============================================================================================================
58
59namespace BIDSLIB
60{
61
62//=============================================================================================================
69{
70 QString name;
71 QString x;
72 QString y;
73 QString z;
74 QString size;
75 QString type;
76 QString material;
77 QString impedance;
78
84 static QList<BidsElectrode> readTsv(const QString& sFilePath);
85
92 static bool writeTsv(const QString& sFilePath,
93 const QList<BidsElectrode>& electrodes);
94
111 const QList<BidsElectrode>& electrodes,
113};
114
115} // namespace BIDSLIB
116
117#endif // BIDS_ELECTRODE_H
MNE-CPP BIDS library entry point: Qt symbol-visibility plumbing and the BIDSLIB namespace documentati...
#define BIDSSHARED_EXPORT
Definition bids_global.h:43
4x4 affine FIFF coordinate transform (FIFF_COORD_TRANS) annotated with source/destination coordinate-...
Container for the FIFF_DIG_POINT records of a measurement (a parsed FIFFB_ISOTRAK block).
Single digitization point (FIFF_DIG_POINT) with kind (cardinal/HPI/EEG/extra), identifier and 3D coor...
BIDS dataset reading, writing, path construction, and sidecar metadata handling for iEEG/EEG/MEG.
Electrode position record corresponding to one row in *_electrodes.tsv.
static bool writeTsv(const QString &sFilePath, const QList< BidsElectrode > &electrodes)
Write a BIDS *_electrodes.tsv file.
static QList< BidsElectrode > readTsv(const QString &sFilePath)
Read a BIDS *_electrodes.tsv file.
static FIFFLIB::FiffDigPointSet toFiffDigPoints(const QList< BidsElectrode > &electrodes, const FIFFLIB::FiffCoordTrans &trans=FIFFLIB::FiffCoordTrans())
Convert a list of BIDS electrodes to a FIFF digitizer point set.
Labelled 4x4 FIFF affine: source frame, destination frame, rotation, translation and cached inverse.
Collection of FiffDigPoint records as parsed from a FIFFB_ISOTRAK block.