v2.0.0
Loading...
Searching...
No Matches
mne_types.h
Go to the documentation of this file.
1//=============================================================================================================
20
21#ifndef _mne_types_h
22#define _mne_types_h
23
24//=============================================================================================================
25// INCLUDES
26//=============================================================================================================
27
28#include <fiff/fiff_types.h>
29#include <fiff/fiff_stream.h>
31
32#include "mne_sss_data.h"
33#include "mne_named_matrix.h"
35#include "mne_named_vector.h"
36#include "mne_deriv_set.h"
37#include "mne_proj_item.h"
38#include "mne_proj_op.h"
39#include "mne_cov_matrix.h"
40#include "mne_ctf_comp_data.h"
42#include "mne_layout_port.h"
43#include "mne_layout.h"
44#include "mne_ch_selection.h"
45#include "mne_event.h"
46#include "mne_event_list.h"
47#include "mne_filter_def.h"
48
49#include <QStringList>
50
51//=============================================================================================================
52// DEFINE NAMESPACE MNELIB
53//=============================================================================================================
54
55namespace MNELIB {
56
57//=============================================================================================================
58// TYPEDEFS
59//=============================================================================================================
60
68typedef void (*mneUserFreeFunc)(void *);
69
70//=============================================================================================================
71// SOURCE-SPACE TYPE CONSTANTS
72//=============================================================================================================
73
79#define MNE_SOURCE_SPACE_UNKNOWN -1
80#define MNE_SOURCE_SPACE_SURFACE 1
81#define MNE_SOURCE_SPACE_VOLUME 2
82#define MNE_SOURCE_SPACE_DISCRETE 3
84
85//=============================================================================================================
86// CHANNEL-SELECTION KIND CONSTANTS
87//=============================================================================================================
88
94#define MNE_CH_SELECTION_UNKNOWN 0
95#define MNE_CH_SELECTION_FILE 1
96#define MNE_CH_SELECTION_USER 2
98
99//=============================================================================================================
100// CTF / 4D COMPENSATION CONSTANTS
101//=============================================================================================================
102
108#define MNE_CTFV_NOGRAD 0
109#define MNE_CTFV_GRAD1 1
110#define MNE_CTFV_GRAD2 2
111#define MNE_CTFV_GRAD3 3
113
118#define MNE_4DV_COMP1 101
120
121//=============================================================================================================
122// TRIGGER AND ENVIRONMENT DEFAULTS
123//=============================================================================================================
124
126#define MNE_DEFAULT_TRIGGER_CH "STI 014"
127
129#define MNE_ENV_TRIGGER_CH "MNE_TRIGGER_CH_NAME"
130
132#define MNE_ENV_ROOT "MNE_ROOT"
133
134} // namespace MNELIB
135
136#endif // _mne_types_h
Collection of MNELIB::MNEDeriv objects forming a derivation montage.
Legacy MNE-C noise covariance container preserved for cross-toolchain compatibility.
Set of CTF compensation matrices plus the currently active grade.
Single recorded event (sample, previous and new trigger code).
Named one-dimensional counterpart of MNELIB::MNENamedMatrix.
Composite SSP projection operator P = I - U U^T assembled from a list of MNELIB::MNEProjItem.
Signal Space Separation (Maxwell filter) basis metadata stored alongside MEG raw data.
2D sensor layout (channel name -> [x,y,w,h]) used by topographic plots.
Single CTF reference-sensor compensation matrix labelled by kind.
Single SSP projection vector with kind/active flag and channel labels.
Row/column-labelled dense matrix used wherever FIFF stores per-channel data.
Lightweight filter specification (kind, cutoff frequencies, length).
Named subset of channels (e.g. "Left-temporal") loaded from an MNE .sel file.
Sparse variant of MNELIB::MNENamedMatrix backed by an Eigen SparseMatrix.
Ordered list of MNELIB::MNEEvent records.
Port-level companion structure to MNELIB::MNELayout for split-channel sensors.
FIFF sparse matrix: column / row-compressed sparse storage backed by Eigen::SparseMatrix.
FIFF binary tag-stream layer: wraps a QIODevice to read and write FIFF tags, directories,...
Primitive scalar typedefs and forward-compatible aliases backing the FIFF type system.
Core MNE data structures (source spaces, source estimates, hemispheres).
void(* mneUserFreeFunc)(void *)
Generic destructor callback for user-attached data.
Definition mne_types.h:68