v2.0.0
Loading...
Searching...
No Matches
fiff_constants.h
Go to the documentation of this file.
1//=============================================================================================================
35
36#ifndef FIFF_CONSTANTS_H
37#define FIFF_CONSTANTS_H
38
39//=============================================================================================================
40// DEFINE NAMESPACE FIFFLIB
41//=============================================================================================================
42
43
44//=============================================================================================================
45// FIFF constants
46//=============================================================================================================
47
48inline constexpr auto FIFFC_FAIL = -1;
49inline constexpr auto FIFFC_OK = 0;
50
51inline constexpr auto FIFFV_TRUE = 1;
52inline constexpr auto FIFFV_FALSE = 0;
53
54/* Compatibility definitions */
55
56inline constexpr auto FIFF_FAIL = -1;
57inline constexpr auto FIFF_OK = 0;
58
59
60/*
61 * Quaternion channels for head position monitoring
62 */
63inline constexpr auto FIFFV_QUAT_0 = 700;
64inline constexpr auto FIFFV_QUAT_1 = 701;
65inline constexpr auto FIFFV_QUAT_2 = 702;
66inline constexpr auto FIFFV_QUAT_3 = 703;
67inline constexpr auto FIFFV_QUAT_4 = 704;
68inline constexpr auto FIFFV_QUAT_5 = 705;
69inline constexpr auto FIFFV_QUAT_6 = 706;
70inline constexpr auto FIFFV_HPI_G = 707;
71inline constexpr auto FIFFV_HPI_ERR = 708;
72inline constexpr auto FIFFV_HPI_MOV = 709;
73
74#define FIFFM_QUAT_CH(X) ((X >= FIFFV_QUAT_0) && (X <= FIFFV_HPI_MOV)) /* Check for a quaternion channel */
75
76inline constexpr auto FIFFV_DIPOLE_WAVE_CH = 1000; /* Dipole time curve */
77inline constexpr auto FIFFV_GOODNESS_FIT_CH = 1001; /* Goodness of fit */
78
79#define FIFFM_CHPOS(x) &((x)->chpos)
80
81/*
82 * Units of measurement
83 */
84inline constexpr auto FIFF_UNIT_NONE = -1;
85
86/*
87 * SI base units
88 */
89inline constexpr auto FIFF_UNIT_M = 1;
90inline constexpr auto FIFF_UNIT_KG = 2;
91inline constexpr auto FIFF_UNIT_SEC = 3;
92inline constexpr auto FIFF_UNIT_A = 4;
93inline constexpr auto FIFF_UNIT_K = 5;
94inline constexpr auto FIFF_UNIT_MOL = 6;
95
96/*
97 * SI Supplementary units
98 */
99inline constexpr auto FIFF_UNIT_RAD = 7;
100inline constexpr auto FIFF_UNIT_SR = 8;
101
102/*
103 * SI base candela
104 */
105inline constexpr auto FIFF_UNIT_CD = 9;
106
107/*
108 * SI derived units
109 */
110inline constexpr auto FIFF_UNIT_HZ = 101;
111inline constexpr auto FIFF_UNIT_N = 102;
112inline constexpr auto FIFF_UNIT_PA = 103;
113inline constexpr auto FIFF_UNIT_J = 104;
114inline constexpr auto FIFF_UNIT_W = 105;
115inline constexpr auto FIFF_UNIT_C = 106;
116inline constexpr auto FIFF_UNIT_V = 107;
117inline constexpr auto FIFF_UNIT_F = 108;
118inline constexpr auto FIFF_UNIT_OHM = 109;
119inline constexpr auto FIFF_UNIT_MHO = 110;
120inline constexpr auto FIFF_UNIT_WB = 111;
121inline constexpr auto FIFF_UNIT_T = 112;
122inline constexpr auto FIFF_UNIT_H = 113;
123inline constexpr auto FIFF_UNIT_CEL = 114;
124inline constexpr auto FIFF_UNIT_LM = 115;
125inline constexpr auto FIFF_UNIT_LX = 116;
126
127/*
128 * Others we need
129 */
130inline constexpr auto FIFF_UNIT_T_M = 201; /* T/m */
131inline constexpr auto FIFF_UNIT_AM = 202; /* Am */
132inline constexpr auto FIFF_UNIT_AM_M2 = 203; /* Am/m^2 */
133inline constexpr auto FIFF_UNIT_AM_M3 = 204; /* Am/m^3 */
134
135/*
136 * Multipliers
137 */
138inline constexpr auto FIFF_UNITM_E = 18;
139inline constexpr auto FIFF_UNITM_PET = 15;
140inline constexpr auto FIFF_UNITM_T = 12;
141inline constexpr auto FIFF_UNITM_MEG = 6;
142inline constexpr auto FIFF_UNITM_K = 3;
143inline constexpr auto FIFF_UNITM_H = 2;
144inline constexpr auto FIFF_UNITM_DA = 1;
145inline constexpr auto FIFF_UNITM_NONE = 0;
146inline constexpr auto FIFF_UNITM_D = -1;
147inline constexpr auto FIFF_UNITM_C = -2;
148inline constexpr auto FIFF_UNITM_M = -3;
149inline constexpr auto FIFF_UNITM_MU = -6;
150inline constexpr auto FIFF_UNITM_N = -9;
151inline constexpr auto FIFF_UNITM_P = -12;
152inline constexpr auto FIFF_UNITM_F = -15;
153inline constexpr auto FIFF_UNITM_A = -18;
154
155/*
156 * Coil types
157 */
158inline constexpr auto FIFFV_COIL_NONE = 0;
159inline constexpr auto FIFFV_COIL_EEG = 1;
160inline constexpr auto FIFFV_COIL_NM_122 = 2;
161inline constexpr auto FIFFV_COIL_NM_24 = 3;
162inline constexpr auto FIFFV_COIL_NM_MCG_AXIAL = 4;
163inline constexpr auto FIFFV_COIL_EEG_BIPOLAR = 5;
164inline constexpr auto FIFFV_COIL_DIPOLE = 200;
165inline constexpr auto FIFFV_COIL_MCG_42 = 1000;
166inline constexpr auto FIFFV_COIL_POINT_MAGNETOMETER = 2000;
167inline constexpr auto FIFFV_COIL_AXIAL_GRAD_5CM = 2001;
168inline constexpr auto FIFFV_COIL_VV_PLANAR_W = 3011;
169inline constexpr auto FIFFV_COIL_VV_PLANAR_T1 = 3012;
170inline constexpr auto FIFFV_COIL_VV_PLANAR_T2 = 3013;
171inline constexpr auto FIFFV_COIL_VV_PLANAR_T3 = 3014;
172inline constexpr auto FIFFV_COIL_VV_MAG_W = 3021;
173inline constexpr auto FIFFV_COIL_VV_MAG_T1 = 3022;
174inline constexpr auto FIFFV_COIL_VV_MAG_T2 = 3023;
175inline constexpr auto FIFFV_COIL_VV_MAG_T3 = 3024;
176inline constexpr auto FIFFV_COIL_MAGNES_MAG = 4001;
177inline constexpr auto FIFFV_COIL_MAGNES_GRAD = 4002;
178inline constexpr auto FIFFV_COIL_CTF_GRAD = 5001;
179inline constexpr auto FIFFV_COIL_CTF_REF_MAG = 5002;
180inline constexpr auto FIFFV_COIL_CTF_REF_GRAD = 5003;
181inline constexpr auto FIFFV_COIL_CTF_REF_GOFF = 5004;
182inline constexpr auto FIFFV_COIL_KIT_GRAD = 6001;
183inline constexpr auto FIFFV_COIL_KIT_REF_GRAD = 6002;
184inline constexpr auto FIFFV_COIL_BABY_GRAD = 7001;
185inline constexpr auto FIFFV_COIL_BABY_MAG = 7002;
186inline constexpr auto FIFFV_COIL_BABY_REF_MAG = 7003;
187inline constexpr auto FIFFV_COIL_BABY_REF_MAG2 = 7004;
188inline constexpr auto FIFFV_COIL_ARTEMIS123_GRAD = 7501;
189inline constexpr auto FIFFV_COIL_ARTEMIS123_REF_MAG = 7502;
190inline constexpr auto FIFFV_COIL_ARTEMIS123_REF_GRAD = 7503;
191inline constexpr auto FIFFV_COIL_QUSPIN_ZFOPM_MAG = 8001;
192inline constexpr auto FIFFV_COIL_KRISS_GRAD = 9001;
193inline constexpr auto FIFFV_COIL_COMPUMEDICS_ADULT_GRAD = 9101;
194inline constexpr auto FIFFV_COIL_COMPUMEDICS_PEDIATRIC_GRAD = 9102;
195
196#define FIFFM_IS_VV_COIL(c) ((c) / 1000 == 3)
197
198/*
199 * These are the cardinal points for MCG data
200 * Left and right are supposed to be located below the sternum point
201 */
202inline constexpr auto FIFFV_POINT_CHEST_LEFT = 1;
203inline constexpr auto FIFFV_POINT_CHEST_STERNUM = 2;
204inline constexpr auto FIFFV_POINT_CHEST_RIGHT = 3;
205
206/*
207 * Coordinate transformation descriptor
208 */
209inline constexpr auto FIFFV_COORD_UNKNOWN = 0;
210inline constexpr auto FIFFV_COORD_DEVICE = 1;
211inline constexpr auto FIFFV_COORD_ISOTRAK = 2;
212inline constexpr auto FIFFV_COORD_HPI = 3;
213inline constexpr auto FIFFV_COORD_HEAD = 4;
214inline constexpr auto FIFFV_COORD_MRI = 5;
215inline constexpr auto FIFFV_COORD_MRI_SLICE = 6;
216inline constexpr auto FIFFV_COORD_MRI_DISPLAY = 7;
217#define FIFFV_COORD_XRAY FIFF_COORD_MRI
218#define FIFFV_COORD_XRAY_SLICE FIFF_COORD_MRI_SLICE
219#define FIFFV_COORD_CT FIFF_COORD_MRI
220#define FIFFV_COORD_CT_SLICE FIFF_COORD_MRI_SLICE
221
222inline constexpr auto FIFFV_COORD_DICOM_DEVICE = 8;
223inline constexpr auto FIFFV_COORD_IMAGING_DEVICE = 9;
224
225inline constexpr auto FIFFV_COORD_TORSO = 100;
226
227inline constexpr auto FIFFV_MOVE = 1;
228inline constexpr auto FIFFV_NO_MOVE = 0;
229
230/*
231 * Artefact removal parameters
232 */
233inline constexpr auto FIFFV_ARTEF_MAX = 100;
234inline constexpr auto FIFFV_ARTEF_NONE = -1;
235inline constexpr auto FIFFV_ARTEF_KEEP = 0;
236inline constexpr auto FIFFV_ARTEF_JUMP = 1;
237inline constexpr auto FIFFV_ARTEF_NOJUMP = 2;
238
239/*
240 * The layered sphere model
241 */
242inline constexpr auto FIFFV_LAYER_BRAIN = 1;
243inline constexpr auto FIFFV_LAYER_CSF = 2;
244inline constexpr auto FIFFV_LAYER_SKULL = 3;
245inline constexpr auto FIFFV_LAYER_HEAD = 4;
246
247inline constexpr auto FIFFV_XFIT_MAP_SURF_SENSORS = 0;
248inline constexpr auto FIFFV_XFIT_MAP_SURF_HEAD = 1;
249inline constexpr auto FIFFV_XFIT_MAP_SURF_SPHERE = 2;
250
251/*
252 * Pointers
253 */
254inline constexpr auto FIFFV_NEXT_SEQ = 0;
255inline constexpr auto FIFFV_NEXT_NONE = -1;
256
257/*
258 * Channel types
259 */
260inline constexpr auto FIFFV_MAGN_CH = 1;
261inline constexpr auto FIFFV_EL_CH = 2;
262#define FIFFV_MEG_CH FIFFV_MAGN_CH
263inline constexpr auto FIFFV_MCG_CH = 201;
264inline constexpr auto FIFFV_REF_MEG_CH = 301;
265#define FIFFV_EEG_CH FIFFV_EL_CH
266inline constexpr auto FIFFV_STIM_CH = 3;
267
268inline constexpr auto FIFFV_EOG_CH = 202;
269inline constexpr auto FIFFV_EMG_CH = 302;
270inline constexpr auto FIFFV_ECG_CH = 402;
271inline constexpr auto FIFFV_MISC_CH = 502;
272inline constexpr auto FIFFV_RESP_CH = 602;
273inline constexpr auto FIFFV_BIO_CH = 102;
274inline constexpr auto FIFFV_SYST_CH = 900;
275inline constexpr auto FIFFV_IAS_CH = 910;
276inline constexpr auto FIFFV_EXCI_CH = 920;
277inline constexpr auto FIFFV_FNIRS_CH = 1100;
278inline constexpr auto FIFFV_TEMPERATURE_CH = 1200;
279inline constexpr auto FIFFV_GALVANIC_CH = 1300;
280inline constexpr auto FIFFV_EYETRACK_CH = 1400;
281
282/*
283 * Intracranial EEG channel types (FIFF standard, as written by mne-python); their coil type is FIFFV_COIL_EEG
284 */
285inline constexpr auto FIFFV_ECOG_CH = 902;
286inline constexpr auto FIFFV_SEEG_CH = 802;
287inline constexpr auto FIFFV_DBS_CH = 803;
288
289/*
290 * Coil types that distinguish EEG, fNIRS and eye-tracking channel types
291 */
292inline constexpr auto FIFFV_COIL_EEG_CSD = 6;
293inline constexpr auto FIFFV_COIL_FNIRS_HBO = 300;
294inline constexpr auto FIFFV_COIL_FNIRS_HBR = 301;
295inline constexpr auto FIFFV_COIL_FNIRS_CW_AMPLITUDE = 302;
296inline constexpr auto FIFFV_COIL_FNIRS_OD = 303;
297inline constexpr auto FIFFV_COIL_FNIRS_FD_AC_AMPLITUDE = 304;
298inline constexpr auto FIFFV_COIL_FNIRS_FD_PHASE = 305;
299inline constexpr auto FIFFV_COIL_FNIRS_TD_GATED_AMPLITUDE = 306;
300inline constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_INTENSITY = 307;
301inline constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_MEAN = 308;
302inline constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_VARIANCE = 309;
303inline constexpr auto FIFFV_COIL_EYETRACK_POS = 400;
304inline constexpr auto FIFFV_COIL_EYETRACK_PUPIL = 401;
305
306/*
307 * More of those defined in MNE
308 */
309inline constexpr auto FIFFV_MNE_SURF_UNKNOWN = -1;
310inline constexpr auto FIFFV_MNE_SURF_LEFT_HEMI = 101;
311inline constexpr auto FIFFV_MNE_SURF_RIGHT_HEMI = 102;
312
313/*
314 * These relate to the Isotrak data
315 */
316inline constexpr auto FIFFV_POINT_CARDINAL = 1;
317inline constexpr auto FIFFV_POINT_HPI = 2;
318inline constexpr auto FIFFV_POINT_EEG = 3;
319#define FIFFV_POINT_ECG FIFFV_POINT_EEG
320inline constexpr auto FIFFV_POINT_EXTRA = 4;
321
322inline constexpr auto FIFFV_POINT_LPA = 1;
323inline constexpr auto FIFFV_POINT_NASION = 2;
324inline constexpr auto FIFFV_POINT_RPA = 3;
325
326/*
327 * These are the MNE fiff definitions
328 */
329inline constexpr auto FIFFB_MNE = 350;
330inline constexpr auto FIFFB_MNE_SOURCE_SPACE = 351;
331inline constexpr auto FIFFB_MNE_FORWARD_SOLUTION = 352;
332inline constexpr auto FIFFB_MNE_PARENT_MRI_FILE = 353;
333inline constexpr auto FIFFB_MNE_PARENT_MEAS_FILE = 354;
334inline constexpr auto FIFFB_MNE_COV = 355;
335inline constexpr auto FIFFB_MNE_INVERSE_SOLUTION = 356;
336inline constexpr auto FIFFB_MNE_NAMED_MATRIX = 357;
337inline constexpr auto FIFFB_MNE_ENV = 358;
338inline constexpr auto FIFFB_MNE_BAD_CHANNELS = 359;
339inline constexpr auto FIFFB_MNE_VERTEX_MAP = 360;
340inline constexpr auto FIFFB_MNE_EVENTS = 361;
341inline constexpr auto FIFFB_MNE_MORPH_MAP = 362;
342
343/*
344 * CTF compensation data
345 */
346inline constexpr auto FIFFB_MNE_CTF_COMP = 370;
347inline constexpr auto FIFFB_MNE_CTF_COMP_DATA = 371;
348inline constexpr auto FIFFB_MNE_DERIVATIONS = 372;
349
350/*
351 * Fiff tags associated with MNE computations (3500...)
352 * 3500... Bookkeeping
353 */
354inline constexpr auto FIFF_MNE_ROW_NAMES = 3502;
355inline constexpr auto FIFF_MNE_COL_NAMES = 3503;
356inline constexpr auto FIFF_MNE_NROW = 3504;
357inline constexpr auto FIFF_MNE_NCOL = 3505;
358inline constexpr auto FIFF_MNE_COORD_FRAME = 3506;
359//FIFFB_MNE_SOURCE_SPACE #define FIFFV_COORD_MRI
360//FIFFB_MNE_FORWARD_SOLUTION FIFFV_COORD_HEAD
361//FIFFB_MNE_INVERSE_SOLUTION FIFFV_COORD_HEAD
362inline constexpr auto FIFF_MNE_CH_NAME_LIST = 3507;
363inline constexpr auto FIFF_MNE_FILE_NAME = 3508;
364
365/*
366 * 3510... 3590... Source space or surface
367 */
368inline constexpr auto FIFF_MNE_SOURCE_SPACE_POINTS = 3510;
369inline constexpr auto FIFF_MNE_SOURCE_SPACE_NORMALS = 3511;
370inline constexpr auto FIFF_MNE_SOURCE_SPACE_NPOINTS = 3512;
371inline constexpr auto FIFF_MNE_SOURCE_SPACE_SELECTION = 3513;
372inline constexpr auto FIFF_MNE_SOURCE_SPACE_NUSE = 3514;
373inline constexpr auto FIFF_MNE_SOURCE_SPACE_NEAREST = 3515;
374inline constexpr auto FIFF_MNE_SOURCE_SPACE_NEAREST_DIST = 3516;
375inline constexpr auto FIFF_MNE_SOURCE_SPACE_ID = 3517;
376inline constexpr auto FIFF_MNE_SOURCE_SPACE_TYPE = 3518;
377
378inline constexpr auto FIFF_MNE_SOURCE_SPACE_NTRI = 3590;
379inline constexpr auto FIFF_MNE_SOURCE_SPACE_TRIANGLES = 3591;
380inline constexpr auto FIFF_MNE_SOURCE_SPACE_NUSE_TRI = 3592;
381inline constexpr auto FIFF_MNE_SOURCE_SPACE_USE_TRIANGLES = 3593;
382
383inline constexpr auto FIFF_MNE_SOURCE_SPACE_VOXEL_DIMS = 3596;
384inline constexpr auto FIFF_MNE_SOURCE_SPACE_INTERPOLATOR = 3597;
385inline constexpr auto FIFF_MNE_SOURCE_SPACE_MRI_FILE = 3598;
386
387inline constexpr auto FIFF_MNE_SOURCE_SPACE_DIST = 3599;
388inline constexpr auto FIFF_MNE_SOURCE_SPACE_DIST_LIMIT = 3600;
389
390/*
391 * 3520... Forward solution
392 */
393inline constexpr auto FIFF_MNE_FORWARD_SOLUTION = 3520;
394inline constexpr auto FIFF_MNE_SOURCE_ORIENTATION = 3521;
395inline constexpr auto FIFF_MNE_INCLUDED_METHODS = 3522;
396inline constexpr auto FIFF_MNE_FORWARD_SOLUTION_GRAD = 3523;
397
398/*
399 * 3530... Covariance matrix
400 */
401inline constexpr auto FIFF_MNE_COV_KIND = 3530;
402inline constexpr auto FIFF_MNE_COV_DIM = 3531;
403inline constexpr auto FIFF_MNE_COV = 3532;
404inline constexpr auto FIFF_MNE_COV_DIAG = 3533;
405inline constexpr auto FIFF_MNE_COV_EIGENVALUES = 3534;
406inline constexpr auto FIFF_MNE_COV_EIGENVECTORS = 3535;
407inline constexpr auto FIFF_MNE_COV_NFREE = 3536;
408
409/*
410 * 3540... Inverse operator
411 * We store the inverse operator as the eigenleads eigenfields and weights
412 */
413inline constexpr auto FIFF_MNE_INVERSE_LEADS = 3540;
414inline constexpr auto FIFF_MNE_INVERSE_LEADS_WEIGHTED = 3546;
415inline constexpr auto FIFF_MNE_INVERSE_FIELDS = 3541;
416inline constexpr auto FIFF_MNE_INVERSE_SING = 3542;
417inline constexpr auto FIFF_MNE_INVERSE_SOURCE_UNIT = 3547;
418inline constexpr auto FIFF_MNE_PRIORS_USED = 3543;
419inline constexpr auto FIFF_MNE_INVERSE_FULL = 3544;
420 // This matrix includes the whitening operator as well
421 // The regularization is applied
422inline constexpr auto FIFF_MNE_INVERSE_SOURCE_ORIENTATIONS = 3545;
423 // The source orientations must be expressed in the coordinate system
424 // given by FIFF_MNE_COORD_FRAME
425
426/*
427 * 3550... Saved environment info
428 */
429inline constexpr auto FIFF_MNE_ENV_WORKING_DIR = 3550;
430inline constexpr auto FIFF_MNE_ENV_COMMAND_LINE = 3551;
431
432/*
433 * 3560... Miscellaneous
434 */
435inline constexpr auto FIFF_MNE_PROJ_ITEM_ACTIVE = 3560;
436inline constexpr auto FIFF_MNE_EVENT_LIST = 3561;
437inline constexpr auto FIFF_MNE_EVENT_TRIGGER_MASK = 3565;
438inline constexpr auto FIFF_MNE_EVENT_COMMENTS = 3566;
439inline constexpr auto FIFF_MNE_HEMI = 3562;
440
441/*
442 * 3570... Morphing maps
443 */
444inline constexpr auto FIFF_MNE_MORPH_MAP = 3570;
445inline constexpr auto FIFF_MNE_MORPH_MAP_FROM = 3571;
446inline constexpr auto FIFF_MNE_MORPH_MAP_TO = 3572;
447
448/*
449 * 3580... CTF compensation data
450 */
451inline constexpr auto FIFF_MNE_CTF_COMP_KIND = 3580;
452inline constexpr auto FIFF_MNE_CTF_COMP_DATA = 3581;
453inline constexpr auto FIFF_MNE_CTF_COMP_CALIBRATED = 3582;
454inline constexpr auto FIFF_MNE_DERIVATION_DATA = 3585;
455
456/*
457 * 3700... Real-Time Communication
458 */
459inline constexpr auto FIFF_MNE_RT_COMMAND = 3700;
460inline constexpr auto FIFF_MNE_RT_CLIENT_ID = 3701;
461
462/*
463 * 3710... Real-Time Blocks
464 */
465inline constexpr auto FIFFB_MNE_RT_MEAS_INFO = 3710;
466
467/*
468 * Fiff values associated with MNE computations
469 */
470inline constexpr auto FIFFV_MNE_FIXED_ORI = 1;
471inline constexpr auto FIFFV_MNE_FREE_ORI = 2;
472
473inline constexpr auto FIFFV_MNE_MEG = 1;
474inline constexpr auto FIFFV_MNE_EEG = 2;
475inline constexpr auto FIFFV_MNE_MEG_EEG = 3;
476
477inline constexpr auto FIFFV_MNE_UNKNOWN_COV = 0;
478inline constexpr auto FIFFV_MNE_SENSOR_COV = 1;
479inline constexpr auto FIFFV_MNE_NOISE_COV = 1;
480inline constexpr auto FIFFV_MNE_SOURCE_COV = 2;
481inline constexpr auto FIFFV_MNE_FMRI_PRIOR_COV = 3;
482inline constexpr auto FIFFV_MNE_SIGNAL_COV = 4;
483inline constexpr auto FIFFV_MNE_DEPTH_PRIOR_COV = 5;
484inline constexpr auto FIFFV_MNE_ORIENT_PRIOR_COV = 6;
485
486/*
487 * Source space types (values of FIFF_MNE_SOURCE_SPACE_TYPE)
488 */
489inline constexpr auto FIFFV_MNE_SPACE_UNKNOWN = -1;
490inline constexpr auto FIFFV_MNE_SPACE_SURFACE = 1;
491inline constexpr auto FIFFV_MNE_SPACE_VOLUME = 2;
492inline constexpr auto FIFFV_MNE_SPACE_DISCRETE = 3;
493
494/*
495 * Covariance matrix channel classification
496 */
497inline constexpr auto FIFFV_MNE_COV_CH_UNKNOWN = -1;
498inline constexpr auto FIFFV_MNE_COV_CH_MEG_MAG = 0;
499inline constexpr auto FIFFV_MNE_COV_CH_MEG_GRAD = 1;
500inline constexpr auto FIFFV_MNE_COV_CH_EEG = 2;
501
502/*
503 * Projection item kinds
504 */
505inline constexpr auto FIFFV_MNE_PROJ_ITEM_EEG_AVREF = 10;
506
507/*
508 * Additional coordinate frames
509 */
510inline constexpr auto FIFFV_MNE_COORD_TUFTS_EEG = 300;
511inline constexpr auto FIFFV_MNE_COORD_CTF_DEVICE = 1001;
512inline constexpr auto FIFFV_MNE_COORD_CTF_HEAD = 1004;
513inline constexpr auto FIFFV_MNE_COORD_MRI_VOXEL = 2001;
514inline constexpr auto FIFFV_MNE_COORD_RAS = 2002;
515inline constexpr auto FIFFV_MNE_COORD_MNI_TAL = 2003;
516inline constexpr auto FIFFV_MNE_COORD_FS_TAL_GTZ = 2004;
517inline constexpr auto FIFFV_MNE_COORD_FS_TAL_LTZ = 2005;
518inline constexpr auto FIFFV_MNE_COORD_FS_TAL = 2006;
519
520#endif // FIFF_CONSTANTS_H
constexpr auto FIFF_UNIT_T_M
constexpr auto FIFFB_MNE_PARENT_MEAS_FILE
constexpr auto FIFFB_MNE_RT_MEAS_INFO
constexpr auto FIFF_MNE_SOURCE_SPACE_NPOINTS
constexpr auto FIFFV_COIL_FNIRS_TD_GATED_AMPLITUDE
constexpr auto FIFF_UNIT_PA
constexpr auto FIFFV_MNE_SENSOR_COV
constexpr auto FIFFV_MNE_COORD_RAS
constexpr auto FIFFV_COIL_QUSPIN_ZFOPM_MAG
constexpr auto FIFFV_MNE_ORIENT_PRIOR_COV
constexpr auto FIFF_UNIT_HZ
constexpr auto FIFF_MNE_SOURCE_SPACE_MRI_FILE
constexpr auto FIFFC_FAIL
constexpr auto FIFFV_COORD_HEAD
constexpr auto FIFF_UNITM_H
constexpr auto FIFF_MNE_FILE_NAME
constexpr auto FIFFV_QUAT_1
constexpr auto FIFFV_COIL_ARTEMIS123_GRAD
constexpr auto FIFFV_MNE_COV_CH_EEG
constexpr auto FIFFV_POINT_EXTRA
constexpr auto FIFFC_OK
constexpr auto FIFFV_COIL_NM_122
constexpr auto FIFF_MNE_ROW_NAMES
constexpr auto FIFFV_MNE_FMRI_PRIOR_COV
constexpr auto FIFFV_COIL_COMPUMEDICS_PEDIATRIC_GRAD
constexpr auto FIFF_MNE_RT_CLIENT_ID
constexpr auto FIFFB_MNE_CTF_COMP
constexpr auto FIFF_MNE_SOURCE_SPACE_DIST_LIMIT
constexpr auto FIFFV_COORD_TORSO
constexpr auto FIFF_UNIT_SR
constexpr auto FIFFV_ECG_CH
constexpr auto FIFFV_COIL_VV_MAG_T1
constexpr auto FIFF_MNE_PRIORS_USED
constexpr auto FIFF_UNIT_A
constexpr auto FIFFB_MNE_DERIVATIONS
constexpr auto FIFFV_POINT_CARDINAL
constexpr auto FIFFV_COORD_MRI_DISPLAY
constexpr auto FIFFV_ARTEF_NONE
constexpr auto FIFFV_COIL_ARTEMIS123_REF_MAG
constexpr auto FIFFV_QUAT_6
constexpr auto FIFFV_MAGN_CH
constexpr auto FIFFV_COIL_CTF_REF_GOFF
constexpr auto FIFFV_COIL_KRISS_GRAD
constexpr auto FIFFV_COIL_MAGNES_MAG
constexpr auto FIFF_MNE_EVENT_LIST
constexpr auto FIFF_MNE_CTF_COMP_KIND
constexpr auto FIFF_UNIT_CEL
constexpr auto FIFFV_MOVE
constexpr auto FIFFV_MNE_SPACE_VOLUME
constexpr auto FIFF_UNIT_WB
constexpr auto FIFFV_POINT_CHEST_RIGHT
constexpr auto FIFFV_XFIT_MAP_SURF_SPHERE
constexpr auto FIFFV_MNE_COORD_CTF_HEAD
constexpr auto FIFFV_MNE_PROJ_ITEM_EEG_AVREF
constexpr auto FIFFV_EXCI_CH
constexpr auto FIFFV_SYST_CH
constexpr auto FIFFV_POINT_CHEST_LEFT
constexpr auto FIFFV_QUAT_0
constexpr auto FIFFV_COIL_NM_24
constexpr auto FIFFV_LAYER_HEAD
constexpr auto FIFFV_NEXT_NONE
constexpr auto FIFFV_GOODNESS_FIT_CH
constexpr auto FIFF_MNE_MORPH_MAP
constexpr auto FIFFV_COIL_EYETRACK_POS
constexpr auto FIFFV_DBS_CH
constexpr auto FIFFV_MNE_MEG
constexpr auto FIFFV_HPI_ERR
constexpr auto FIFFV_MNE_COORD_CTF_DEVICE
constexpr auto FIFFV_ARTEF_JUMP
constexpr auto FIFFV_COIL_BABY_GRAD
constexpr auto FIFFV_COIL_VV_PLANAR_T2
constexpr auto FIFF_UNIT_AM
constexpr auto FIFF_UNIT_KG
constexpr auto FIFF_MNE_SOURCE_SPACE_POINTS
constexpr auto FIFF_MNE_MORPH_MAP_TO
constexpr auto FIFFV_COIL_AXIAL_GRAD_5CM
constexpr auto FIFFV_IAS_CH
constexpr auto FIFFV_LAYER_BRAIN
constexpr auto FIFFV_COORD_MRI_SLICE
constexpr auto FIFFB_MNE
constexpr auto FIFF_MNE_SOURCE_SPACE_SELECTION
constexpr auto FIFFV_COIL_FNIRS_OD
constexpr auto FIFF_UNIT_SEC
constexpr auto FIFFV_ARTEF_NOJUMP
constexpr auto FIFF_UNITM_DA
constexpr auto FIFF_UNITM_F
constexpr auto FIFFV_MNE_COORD_TUFTS_EEG
constexpr auto FIFFV_MNE_COV_CH_UNKNOWN
constexpr auto FIFFV_COIL_MAGNES_GRAD
constexpr auto FIFF_MNE_SOURCE_SPACE_NORMALS
constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_MEAN
constexpr auto FIFF_MNE_SOURCE_SPACE_NTRI
constexpr auto FIFF_MNE_ENV_COMMAND_LINE
constexpr auto FIFFV_COIL_VV_MAG_W
constexpr auto FIFF_MNE_COORD_FRAME
constexpr auto FIFFV_COIL_FNIRS_CW_AMPLITUDE
constexpr auto FIFF_MNE_NCOL
constexpr auto FIFFV_COIL_KIT_GRAD
constexpr auto FIFF_MNE_COV_EIGENVALUES
constexpr auto FIFFB_MNE_NAMED_MATRIX
constexpr auto FIFF_MNE_FORWARD_SOLUTION_GRAD
constexpr auto FIFFV_NEXT_SEQ
constexpr auto FIFFV_COIL_EEG_CSD
constexpr auto FIFFB_MNE_MORPH_MAP
constexpr auto FIFFV_ARTEF_MAX
constexpr auto FIFF_UNIT_LX
constexpr auto FIFFV_COIL_EEG
constexpr auto FIFFV_MNE_SPACE_UNKNOWN
constexpr auto FIFFV_POINT_HPI
constexpr auto FIFFB_MNE_EVENTS
constexpr auto FIFFV_COIL_ARTEMIS123_REF_GRAD
constexpr auto FIFF_UNIT_C
constexpr auto FIFFV_MNE_SOURCE_COV
constexpr auto FIFFV_COORD_DEVICE
constexpr auto FIFFV_COIL_KIT_REF_GRAD
constexpr auto FIFFV_COIL_NM_MCG_AXIAL
constexpr auto FIFF_UNIT_M
constexpr auto FIFFV_QUAT_2
constexpr auto FIFFV_MISC_CH
constexpr auto FIFF_MNE_NROW
constexpr auto FIFFV_COIL_BABY_MAG
constexpr auto FIFF_MNE_INVERSE_FIELDS
constexpr auto FIFF_UNIT_N
constexpr auto FIFF_MNE_EVENT_TRIGGER_MASK
constexpr auto FIFF_UNITM_NONE
constexpr auto FIFFV_LAYER_CSF
constexpr auto FIFFV_MNE_SIGNAL_COV
constexpr auto FIFFV_POINT_CHEST_STERNUM
constexpr auto FIFF_UNIT_AM_M2
constexpr auto FIFFB_MNE_INVERSE_SOLUTION
constexpr auto FIFF_UNIT_AM_M3
constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_VARIANCE
constexpr auto FIFFV_XFIT_MAP_SURF_HEAD
constexpr auto FIFF_MNE_SOURCE_SPACE_NUSE
constexpr auto FIFFV_SEEG_CH
constexpr auto FIFFV_COIL_FNIRS_HBR
constexpr auto FIFF_MNE_EVENT_COMMENTS
constexpr auto FIFFV_COIL_EEG_BIPOLAR
constexpr auto FIFFV_POINT_EEG
constexpr auto FIFFV_COIL_POINT_MAGNETOMETER
constexpr auto FIFFV_COIL_CTF_REF_GRAD
constexpr auto FIFF_MNE_SOURCE_SPACE_VOXEL_DIMS
constexpr auto FIFFV_GALVANIC_CH
constexpr auto FIFFV_MNE_SPACE_DISCRETE
constexpr auto FIFFV_ECOG_CH
constexpr auto FIFF_MNE_INVERSE_LEADS_WEIGHTED
constexpr auto FIFF_MNE_CH_NAME_LIST
constexpr auto FIFFV_COIL_NONE
constexpr auto FIFFB_MNE_COV
constexpr auto FIFF_MNE_COV_EIGENVECTORS
constexpr auto FIFFV_STIM_CH
constexpr auto FIFF_UNIT_RAD
constexpr auto FIFFV_EYETRACK_CH
constexpr auto FIFFV_QUAT_5
constexpr auto FIFF_MNE_COV_DIAG
constexpr auto FIFF_UNITM_A
constexpr auto FIFFV_BIO_CH
constexpr auto FIFF_UNIT_J
constexpr auto FIFFV_COIL_CTF_GRAD
constexpr auto FIFF_UNIT_T
constexpr auto FIFFV_MNE_COORD_FS_TAL
constexpr auto FIFFV_DIPOLE_WAVE_CH
constexpr auto FIFFV_MNE_DEPTH_PRIOR_COV
constexpr auto FIFFV_QUAT_4
constexpr auto FIFF_MNE_INVERSE_SOURCE_UNIT
constexpr auto FIFF_UNIT_W
constexpr auto FIFF_FAIL
constexpr auto FIFFV_EL_CH
constexpr auto FIFF_MNE_SOURCE_ORIENTATION
constexpr auto FIFF_MNE_DERIVATION_DATA
constexpr auto FIFF_MNE_SOURCE_SPACE_USE_TRIANGLES
constexpr auto FIFFV_POINT_LPA
constexpr auto FIFFV_COIL_BABY_REF_MAG
constexpr auto FIFF_MNE_COV_DIM
constexpr auto FIFFV_MNE_SURF_UNKNOWN
constexpr auto FIFFV_MNE_COORD_MRI_VOXEL
constexpr auto FIFF_MNE_MORPH_MAP_FROM
constexpr auto FIFF_MNE_SOURCE_SPACE_DIST
constexpr auto FIFFV_MNE_MEG_EEG
constexpr auto FIFFV_MNE_COORD_MNI_TAL
constexpr auto FIFFV_COORD_UNKNOWN
constexpr auto FIFFV_COORD_IMAGING_DEVICE
constexpr auto FIFF_MNE_PROJ_ITEM_ACTIVE
constexpr auto FIFF_UNIT_K
constexpr auto FIFF_MNE_COV_NFREE
constexpr auto FIFF_MNE_ENV_WORKING_DIR
constexpr auto FIFFV_COIL_VV_MAG_T3
constexpr auto FIFF_MNE_COV
constexpr auto FIFF_UNIT_MHO
constexpr auto FIFFV_COIL_VV_PLANAR_W
constexpr auto FIFF_MNE_SOURCE_SPACE_NEAREST
constexpr auto FIFFV_COIL_FNIRS_FD_AC_AMPLITUDE
constexpr auto FIFF_UNIT_F
constexpr auto FIFF_UNIT_CD
constexpr auto FIFFV_COIL_FNIRS_FD_PHASE
constexpr auto FIFFB_MNE_PARENT_MRI_FILE
constexpr auto FIFFV_MNE_EEG
constexpr auto FIFFV_COIL_DIPOLE
constexpr auto FIFF_UNITM_MU
constexpr auto FIFF_MNE_SOURCE_SPACE_TRIANGLES
constexpr auto FIFFV_MNE_COV_CH_MEG_GRAD
constexpr auto FIFF_UNITM_C
constexpr auto FIFFV_COORD_MRI
constexpr auto FIFFB_MNE_VERTEX_MAP
constexpr auto FIFFV_NO_MOVE
constexpr auto FIFFV_COIL_COMPUMEDICS_ADULT_GRAD
constexpr auto FIFF_MNE_CTF_COMP_CALIBRATED
constexpr auto FIFFV_EMG_CH
constexpr auto FIFF_MNE_INVERSE_SOURCE_ORIENTATIONS
constexpr auto FIFF_MNE_FORWARD_SOLUTION
constexpr auto FIFFV_MNE_COORD_FS_TAL_GTZ
constexpr auto FIFFV_ARTEF_KEEP
constexpr auto FIFFV_MNE_SPACE_SURFACE
constexpr auto FIFF_MNE_INVERSE_SING
constexpr auto FIFFV_COIL_FNIRS_TD_MOMENTS_INTENSITY
constexpr auto FIFFV_COORD_ISOTRAK
constexpr auto FIFF_UNIT_MOL
constexpr auto FIFFV_COIL_BABY_REF_MAG2
constexpr auto FIFF_UNIT_V
constexpr auto FIFF_MNE_SOURCE_SPACE_NEAREST_DIST
constexpr auto FIFF_UNIT_LM
constexpr auto FIFFB_MNE_SOURCE_SPACE
constexpr auto FIFFB_MNE_FORWARD_SOLUTION
constexpr auto FIFFV_POINT_NASION
constexpr auto FIFFV_MNE_NOISE_COV
constexpr auto FIFF_MNE_INVERSE_FULL
constexpr auto FIFFV_MNE_UNKNOWN_COV
constexpr auto FIFF_MNE_COV_KIND
constexpr auto FIFF_MNE_INCLUDED_METHODS
constexpr auto FIFF_UNITM_P
constexpr auto FIFF_MNE_CTF_COMP_DATA
constexpr auto FIFF_MNE_INVERSE_LEADS
constexpr auto FIFFV_COIL_VV_PLANAR_T1
constexpr auto FIFF_MNE_COL_NAMES
constexpr auto FIFF_UNITM_M
constexpr auto FIFFV_TEMPERATURE_CH
constexpr auto FIFFV_COORD_DICOM_DEVICE
constexpr auto FIFF_MNE_SOURCE_SPACE_INTERPOLATOR
constexpr auto FIFFV_TRUE
constexpr auto FIFF_UNITM_T
constexpr auto FIFFV_MNE_FREE_ORI
constexpr auto FIFFV_MNE_COV_CH_MEG_MAG
constexpr auto FIFF_UNITM_K
constexpr auto FIFF_UNITM_E
constexpr auto FIFFB_MNE_ENV
constexpr auto FIFF_UNIT_OHM
constexpr auto FIFFV_COIL_VV_MAG_T2
constexpr auto FIFFV_COORD_HPI
constexpr auto FIFFV_COIL_MCG_42
constexpr auto FIFFV_MNE_COORD_FS_TAL_LTZ
constexpr auto FIFFB_MNE_BAD_CHANNELS
constexpr auto FIFFV_HPI_MOV
constexpr auto FIFFV_FNIRS_CH
constexpr auto FIFFV_QUAT_3
constexpr auto FIFFV_MNE_FIXED_ORI
constexpr auto FIFFV_FALSE
constexpr auto FIFF_UNIT_NONE
constexpr auto FIFF_UNITM_D
constexpr auto FIFF_OK
constexpr auto FIFFV_COIL_FNIRS_HBO
constexpr auto FIFF_MNE_RT_COMMAND
constexpr auto FIFFB_MNE_CTF_COMP_DATA
constexpr auto FIFFV_XFIT_MAP_SURF_SENSORS
constexpr auto FIFFV_COIL_VV_PLANAR_T3
constexpr auto FIFF_MNE_SOURCE_SPACE_TYPE
constexpr auto FIFFV_COIL_CTF_REF_MAG
constexpr auto FIFF_UNITM_MEG
constexpr auto FIFFV_EOG_CH
constexpr auto FIFF_UNIT_H
constexpr auto FIFFV_MCG_CH
constexpr auto FIFFV_LAYER_SKULL
constexpr auto FIFFV_MNE_SURF_RIGHT_HEMI
constexpr auto FIFFV_HPI_G
constexpr auto FIFFV_COIL_EYETRACK_PUPIL
constexpr auto FIFF_MNE_HEMI
constexpr auto FIFFV_POINT_RPA
constexpr auto FIFF_UNITM_PET
constexpr auto FIFFV_REF_MEG_CH
constexpr auto FIFFV_MNE_SURF_LEFT_HEMI
constexpr auto FIFF_MNE_SOURCE_SPACE_ID
constexpr auto FIFFV_RESP_CH
constexpr auto FIFF_UNITM_N
constexpr auto FIFF_MNE_SOURCE_SPACE_NUSE_TRI