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//=============================================================================================================
67{
68 QString name;
69 QString x;
70 QString y;
71 QString z;
72 QString size;
73 QString type;
74 QString material;
75 QString impedance;
76
82 static QList<BidsElectrode> readTsv(const QString& sFilePath);
83
90 static bool writeTsv(const QString& sFilePath,
91 const QList<BidsElectrode>& electrodes);
92
109 const QList<BidsElectrode>& electrodes,
111};
112
113} // namespace BIDSLIB
114
115#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
Container for the FIFF_DIG_POINT records of a measurement (a parsed FIFFB_ISOTRAK block).
4x4 affine FIFF coordinate transform (FIFF_COORD_TRANS) annotated with source/destination coordinate-...
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.