v2.0.0
Loading...
Searching...
No Matches
bids_channel.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef BIDS_CHANNEL_H
36#define BIDS_CHANNEL_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 type;
66 QString units;
67 QString samplingFreq;
68 QString lowCutoff;
69 QString highCutoff;
70 QString notch;
71 QString status;
72 QString description;
73
79 static QList<BidsChannel> readTsv(const QString& sFilePath);
80
87 static bool writeTsv(const QString& sFilePath,
88 const QList<BidsChannel>& channels);
89};
90
91} // namespace BIDSLIB
92
93#endif // BIDS_CHANNEL_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.
Channel metadata record corresponding to one row in *_channels.tsv.
static QList< BidsChannel > readTsv(const QString &sFilePath)
Read a BIDS *_channels.tsv file.
static bool writeTsv(const QString &sFilePath, const QList< BidsChannel > &channels)
Write a BIDS *_channels.tsv file.