v2.0.0
Loading...
Searching...
No Matches
bids_electrode.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef BIDS_ELECTRODE_H
36#define BIDS_ELECTRODE_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "bids_global.h"
43
44//=============================================================================================================
45// QT INCLUDES
46//=============================================================================================================
47
48#include <QString>
49#include <QList>
50
51//=============================================================================================================
52// DEFINE NAMESPACE BIDSLIB
53//=============================================================================================================
54
55namespace BIDSLIB
56{
57
58//=============================================================================================================
63{
64 QString name;
65 QString x;
66 QString y;
67 QString z;
68 QString size;
69 QString type;
70 QString material;
71 QString impedance;
72
78 static QList<BidsElectrode> readTsv(const QString& sFilePath);
79
86 static bool writeTsv(const QString& sFilePath,
87 const QList<BidsElectrode>& electrodes);
88};
89
90} // namespace BIDSLIB
91
92#endif // BIDS_ELECTRODE_H
bids library export/import macros.
#define BIDSSHARED_EXPORT
Definition bids_global.h:55
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.