v2.0.0
Loading...
Searching...
No Matches
mne_process_description.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef MNE_PROCESS_DESCRIPTION_H
20#define MNE_PROCESS_DESCRIPTION_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "mne_global.h"
27
29
30#include <QString>
31#include <QStringList>
32#include <QVector>
33#include <QList>
34
35//=============================================================================================================
36// DEFINE NAMESPACE MNELIB
37//=============================================================================================================
38
39namespace MNELIB
40{
41
42// Import averaging types from FIFFLIB for backward compatibility
43using FIFFLIB::RejectionParams;
44using FIFFLIB::AverageCategory;
45using FIFFLIB::AverageDescription;
46
47//=============================================================================================================
53 QVector<unsigned int> events;
54 unsigned int ignore = 0;
55 float delay = 0.0f;
56 float tmin = -0.2f;
57 float tmax = 0.0f;
58 float bmin = 0.0f;
59 float bmax = 0.0f;
60 bool doBaseline = false;
61};
62
63//=============================================================================================================
69 QList<CovDefinition> defs;
70 RejectionParams rej;
71 bool removeSampleMean = true;
72 bool fixSkew = false;
73 QString filename;
74 QString eventFile;
75 QString logFile;
76};
77
78//=============================================================================================================
84 bool filterOn = true;
85 int filterSize = 4096;
86 int taperSize = 2048;
87 float highpass = 0.0f;
88 float highpassWidth = 0.0f;
89 float lowpass = 40.0f;
90 float lowpassWidth = 5.0f;
91 float eogHighpass = 0.0f;
92 float eogHighpassWidth = 0.0f;
93 float eogLowpass = 40.0f;
94 float eogLowpassWidth = 5.0f;
95};
96
97//=============================================================================================================
103 // Working directory
104 QString workingDir;
105
106 // Input
107 QStringList rawFiles;
108 QStringList eventFiles;
109 int compensateTo = -1;
110 bool allowMaxShield = false;
111
112 // Filter
114
115 // Events output
116 QStringList eventsOutFiles;
117 bool saveAllEvents = false;
118 QString digTrigger;
119 unsigned int digTriggerMask = 0;
120
121 // Projection
122 QStringList projFiles;
123 int projOn = -1;
124 bool makeProj = false;
125 int projEvent = -1;
126 float projTmin = -1.0f;
127 float projTmax = -1.0f;
128 int projNGrad = 5;
129 int projNMag = 8;
130 int projNEeg = 0;
131 float projGradReject = 2000e-13f;
132 float projMagReject = 3e-12f;
133 float projEegReject = 50e-6f;
134 QString saveProjTag;
135 bool saveProjAugmented = false;
136
137 // Save
138 QStringList saveFiles;
139 bool omitSubjectInfo = false;
140 int decimation = 1;
141 long splitSize = -1;
142
143 // Averaging
144 QStringList aveFiles;
145 QString saveAveTag;
146 QString grandAveFile;
147
148 // Covariance
149 QStringList covFiles;
150 QString saveCovTag;
151 QString grandCovFile;
152
153 // Misc
154 bool saveHere = false;
155};
156
157} // namespace MNELIB
158
159#endif // MNE_PROCESS_DESCRIPTION_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Set of averaged evoked responses sharing a FiffInfo, plus the ave-style category / rejection descript...
Core MNE data structures (source spaces, source estimates, hemispheres).
QVector< unsigned int > events
QList< CovDefinition > defs