112 #include <fiff/c/fiff_types.h>
114 #if defined(__cplusplus)
131 typedef void (*mneUserFreeFunc)(
void *);
132 typedef fiffSparseMatrix mneSparseMatrix;
133 typedef fiffSparseMatrixRec mneSparseMatrixRec;
163 int width,height,depth;
164 float xsize,ysize,zsize;
165 float x_ras[3],y_ras[3],z_ras[3];
173 #define MNE_SOURCE_SPACE_UNKNOWN -1
174 #define MNE_SOURCE_SPACE_SURFACE 1
175 #define MNE_SOURCE_SPACE_VOLUME 2
176 #define MNE_SOURCE_SPACE_DISCRETE 3
223 mneSparseMatrix dist;
232 fiffCoordTrans voxel_surf_RAS_t;
237 mneSparseMatrix interpolator;
239 fiffCoordTrans MRI_voxel_surf_RAS_t;
240 fiffCoordTrans MRI_surf_RAS_RAS_t;
246 mneUserFreeFunc user_data_free;
288 mneSparseMatrix data;
333 #define MNE_COV_CH_UNKNOWN -1
334 #define MNE_COV_CH_MEG_MAG 0
335 #define MNE_COV_CH_MEG_GRAD 1
336 #define MNE_COV_CH_EEG 2
484 float xmin,xmax,ymin,ymax;
491 float xmin,xmax,ymin,ymax;
492 float cxmin,cxmax,cymin,cymax;
502 #define MNE_CH_SELECTION_UNKNOWN 0
503 #define MNE_CH_SELECTION_FILE 1
504 #define MNE_CH_SELECTION_USER 2
511 char **chspick_nospace;
547 float highpass_width;
551 float eog_highpass_width;
553 float eog_lowpass_width;
572 #define MNE_CTFV_NOGRAD 0
573 #define MNE_CTFV_GRAD1 1
574 #define MNE_CTFV_GRAD2 2
575 #define MNE_CTFV_GRAD3 3
579 #define MNE_4DV_COMP1 101
586 mneSparseMatrix presel;
587 mneSparseMatrix postsel;
629 mneRawBufDef filt_bufs;
635 float *first_sample_val;
643 mneUserFreeFunc filter_data_free;
645 unsigned int max_event;
647 unsigned int dig_trigger_mask;
655 float *deriv_offsets;
657 mneUserFreeFunc user_free;
687 mneUserFreeFunc user_data_free;
696 fiffTimeRec meas_date;
698 fiffCoordTrans meg_head_t;
699 fiffCoordTrans mri_head_t;
707 mneInverseOperator op;
747 #define MNE_MRI_VERSION 1
748 #define MNE_MRI_UCHAR 0
749 #define MNE_MRI_INT 1
750 #define MNE_MRI_LONG 2
751 #define MNE_MRI_FLOAT 3
752 #define MNE_MRI_SHORT 4
753 #define MNE_MRI_BITMAP 5
754 #define MNE_MRI_TENSOR 6
756 #define MNE_MRI_ALL_FRAMES -1
757 #define MNE_MRI_NO_FRAMES -2
767 unsigned char ***uslices;
783 mneUserFreeFunc user_data_free;
795 float xsize,ysize,zsize;
796 float x_ras[3],y_ras[3],z_ras[3];
800 fiffCoordTrans voxel_surf_RAS_t;
801 fiffCoordTrans surf_RAS_RAS_t;
802 fiffCoordTrans head_surf_RAS_t;
803 fiffCoordTrans RAS_MNI_tal_t;
804 fiffCoordTrans MNI_tal_tal_gtz_t;
805 fiffCoordTrans MNI_tal_tal_ltz_t;
817 mneUserFreeFunc user_data_free;
836 mneUserFreeFunc user_data_free;
850 #define MNE_WAVELET_COMPLEX 1
851 #define MNE_WAVELET_POWER 2
856 #define MNE_DEFAULT_TRIGGER_CH "STI 014"
857 #define MNE_DEFAULT_FILTER_SIZE 4096
858 #define MNE_ENV_TRIGGER_CH "MNE_TRIGGER_CH_NAME"
859 #define MNE_ENV_TRIGGER_CH_MASK "MNE_TRIGGER_CH_MASK"
860 #define MNE_ENV_ROOT "MNE_ROOT"
861 #define MNE_ENV_FILTER_SIZE "MNE_FILTER_SIZE"
863 #if defined(__cplusplus)