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//=============================================================================================================
50{
51 QVector<unsigned int> events;
52 unsigned int ignore = 0;
53 float delay = 0.0f;
54 float tmin = -0.2f;
55 float tmax = 0.0f;
56 float bmin = 0.0f;
57 float bmax = 0.0f;
58 bool doBaseline = false;
59};
60
61//=============================================================================================================
69{
70 QList<CovDefinition> defs;
72 bool removeSampleMean = true;
73 bool fixSkew = false;
74 QString filename;
75 QString eventFile;
76 QString logFile;
77};
78
79//=============================================================================================================
85{
86 bool filterOn = true;
87 int filterSize = 4096;
88 int taperSize = 2048;
89 float highpass = 0.0f;
90 float highpassWidth = 0.0f;
91 float lowpass = 40.0f;
92 float lowpassWidth = 5.0f;
93 float eogHighpass = 0.0f;
94 float eogHighpassWidth = 0.0f;
95 float eogLowpass = 40.0f;
96 float eogLowpassWidth = 5.0f;
97};
98
99//=============================================================================================================
105{
106 // Working directory
107 QString workingDir;
108
109 // Input
110 QStringList rawFiles;
111 QStringList eventFiles;
112 int compensateTo = -1;
113 bool allowMaxShield = false;
114
115 // Filter
117
118 // Events output
119 QStringList eventsOutFiles;
120 bool saveAllEvents = false;
121 QString digTrigger;
122 unsigned int digTriggerMask = 0;
123
124 // Projection
125 QStringList projFiles;
126 int projOn = -1;
127 bool makeProj = false;
128 int projEvent = -1;
129 float projTmin = -1.0f;
130 float projTmax = -1.0f;
131 int projNGrad = 5;
132 int projNMag = 8;
133 int projNEeg = 0;
134 float projGradReject = 2000e-13f;
135 float projMagReject = 3e-12f;
136 float projEegReject = 50e-6f;
137 QString saveProjTag;
138 bool saveProjAugmented = false;
139
140 // Save
141 QStringList saveFiles;
142 bool omitSubjectInfo = false;
143 int decimation = 1;
144 long splitSize = -1;
145
146 // Averaging
147 QStringList aveFiles;
148 QString saveAveTag;
149 QString grandAveFile;
150
151 // Covariance
152 QStringList covFiles;
153 QString saveCovTag;
154 QString grandCovFile;
155
156 // Misc
157 bool saveHere = false;
158};
159
160} // namespace MNELIB
161
162#endif // MNE_PROCESS_DESCRIPTION_H
Set of averaged evoked responses sharing a FiffInfo, plus the ave-style category / rejection descript...
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
Artifact-rejection thresholds for the MNE-C batch averaging pipeline (gradiometer / magnetometer / EE...
QVector< unsigned int > events
QList< CovDefinition > defs
FIFFLIB::RejectionParams rej