Home > vbmeg > external > mne > fiff_define_constants.m

fiff_define_constants

PURPOSE ^

SYNOPSIS ^

function [ FIFF ] = fiff_define_constants()

DESCRIPTION ^

    [ FIFF ] = fiff_define_constants()

    Defines structure containing the FIFF constants

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ FIFF ] = fiff_define_constants()
0002 %
0003 %    [ FIFF ] = fiff_define_constants()
0004 %
0005 %    Defines structure containing the FIFF constants
0006 %
0007 
0008 %
0009 %   Author : Matti Hamalainen, MGH Martinos Center
0010 %   License : BSD 3-clause
0011 %
0012 %    Revision 1.23  2009/03/30 11:37:37  msh
0013 %    Added copying of measurement info blocks from the original like in mne_browse_raw
0014 %
0015 %    Revision 1.22  2009/02/16 04:38:21  msh
0016 %    Fixed comments on coordinate transforms
0017 %
0018 %
0019 %    Revision 1.20  2008/11/16 21:31:23  msh
0020 %    Added mne_transform_coordinates and new coordinate frame definitions
0021 %
0022 %    Revision 1.19  2008/09/30 17:22:39  msh
0023 %    Added possibility to load unprocessed MaxShield data
0024 %
0025 %    Revision 1.18  2008/06/07 21:22:10  msh
0026 %    Added FIFF_FORWARD_SOLUTION_GRAD constant
0027 %
0028 %    Revision 1.17  2008/05/26 10:49:26  msh
0029 %    Update to incorporate the already weighted lead field basis
0030 %
0031 %    Revision 1.16  2008/05/06 20:40:56  msh
0032 %    Fixed ordering of output for compatibility with maxfilter averager
0033 %
0034 %    Revision 1.15  2008/04/16 22:24:57  msh
0035 %    Added megacq parameters to the measurement info
0036 %
0037 %    Revision 1.14  2008/04/16 17:29:28  msh
0038 %    Added acquisition parameter tags.
0039 %
0040 %    Revision 1.13  2008/03/13 19:18:06  msh
0041 %    Read and write FIFF_MEAS_DATE from/to FIFFB_MEAS_INFO as appropriate
0042 %
0043 %    Revision 1.12  2007/01/29 21:21:21  msh
0044 %    Added reading of the additional source prior covariances.
0045 %
0046 %    Revision 1.11  2006/09/25 19:48:16  msh
0047 %    Added projection item kinds to fiff_define_constants
0048 %    Changed some fields to int32 in surface structures
0049 %
0050 %    Revision 1.10  2006/09/24 18:52:43  msh
0051 %    Added FIFFV_REF_MEG_CH to fiff_define_constants.
0052 %    Added coord_frame field to dig point structure.
0053 %
0054 %    Revision 1.9  2006/06/22 21:22:46  msh
0055 %    Take into account the possibility of calibrated compensation matrices
0056 %
0057 %    Revision 1.8  2006/05/05 03:50:40  msh
0058 %    Added routines to compute L2-norm inverse solutions.
0059 %    Added mne_write_inverse_sol_stc to write them in stc files
0060 %    Several bug fixes in other files
0061 %
0062 %    Revision 1.7  2006/04/28 18:01:27  msh
0063 %    Added mne_read_bem_surfaces
0064 %    Fixed errors in mne_read_source_spaces and improved triangle data computation.
0065 %
0066 %    Revision 1.6  2006/04/26 19:50:58  msh
0067 %    Added fiff_read_mri
0068 %
0069 %    Revision 1.5  2006/04/23 15:29:39  msh
0070 %    Added MGH to the copyright
0071 %
0072 %    Revision 1.4  2006/04/15 12:21:00  msh
0073 %    Several small improvements
0074 %
0075 %    Revision 1.3  2006/04/10 23:26:53  msh
0076 %    Added fiff reading routines
0077 %
0078 %    Revision 1.2  2005/12/05 20:23:21  msh
0079 %    Added fiff_save_evoked. Improved error handling.
0080 %
0081 %    Revision 1.1  2005/12/05 16:01:04  msh
0082 %    Added an initial set of fiff writing routines.
0083 %
0084 %
0085 
0086 %
0087 % Blocks
0088 %
0089 FIFF.FIFFB_MEAS               = 100;
0090 FIFF.FIFFB_MEAS_INFO          = 101;
0091 FIFF.FIFFB_RAW_DATA           = 102;
0092 FIFF.FIFFB_PROCESSED_DATA     = 103;
0093 FIFF.FIFFB_CONTINUOUS_DATA    = 112;
0094 FIFF.FIFFB_EVOKED             = 104;
0095 FIFF.FIFFB_ASPECT             = 105;
0096 FIFF.FIFFB_SUBJECT            = 106;
0097 FIFF.FIFFB_ISOTRAK            = 107;
0098 FIFF.FIFFB_HPI_MEAS           = 108;
0099 FIFF.FIFFB_HPI_RESULT         = 109;
0100 FIFF.FIFFB_DACQ_PARS          = 117;
0101 FIFF.FIFFB_REF                = 118;
0102 FIFF.FIFFB_SMSH_RAW_DATA      = 119;
0103 FIFF.FIFFB_SMSH_ASPECT        = 120;
0104 FIFF.FIFFB_HPI_SUBSYSTEM      = 121;
0105 FIFF.FIFFB_EPOCHS             = 122;
0106 FIFF.FIFFB_ICA                = 123;
0107 FIFF.FIFFB_PROJ               = 313;
0108 FIFF.FIFFB_PROJ_ITEM          = 314;
0109 FIFF.FIFFB_MRI                = 200;
0110 FIFF.FIFFB_MRI_SET            = 201;
0111 FIFF.FIFFB_MRI_SLICE          = 202;
0112 FIFF.FIFFB_PROCESSING_HISTORY = 900;
0113 FIFF.FIFFB_SSS_INFO           = 502;
0114 FIFF.FIFFB_SSS_CAL_ADJUST     = 503;
0115 FIFF.FIFFB_SSS_ST_INFO        = 504;
0116 FIFF.FIFFB_SSS_BASES          = 505;
0117 %
0118 % Of general interest
0119 %
0120 FIFF.FIFF_FILE_ID         = 100;
0121 FIFF.FIFF_DIR_POINTER     = 101;
0122 FIFF.FIFF_BLOCK_ID        = 103;
0123 FIFF.FIFF_BLOCK_START     = 104;
0124 FIFF.FIFF_BLOCK_END       = 105;
0125 FIFF.FIFF_FREE_LIST       = 106;
0126 FIFF.FIFF_FREE_BLOCK      = 107;
0127 FIFF.FIFF_NOP             = 108;
0128 FIFF.FIFF_PARENT_FILE_ID  = 109;
0129 FIFF.FIFF_PARENT_BLOCK_ID = 110;
0130 %
0131 %  Megacq saves the parameters in these tags
0132 %
0133 FIFF.FIFF_DACQ_PARS      = 150;
0134 FIFF.FIFF_DACQ_STIM      = 151;
0135 
0136 FIFF.FIFF_SFREQ       = 201;
0137 FIFF.FIFF_NCHAN       = 200;
0138 FIFF.FIFF_DATA_PACK   = 202;
0139 FIFF.FIFF_CH_INFO     = 203;
0140 FIFF.FIFF_MEAS_DATE   = 204;
0141 FIFF.FIFF_SUBJECT     = 205;
0142 FIFF.FIFF_COMMENT     = 206;
0143 FIFF.FIFF_NAVE        = 207;
0144 FIFF.FIFF_DIG_POINT   = 213;
0145 FIFF.FIFF_LOWPASS     = 219;
0146 FIFF.FIFF_COORD_TRANS = 222;
0147 FIFF.FIFF_HIGHPASS    = 223;
0148 FIFF.FIFF_NAME        = 233;
0149 FIFF.FIFF_DESCRIPTION = FIFF.FIFF_COMMENT;
0150 %
0151 % Pointers
0152 %
0153 FIFF.FIFFV_NEXT_SEQ    = 0;
0154 FIFF.FIFFV_NEXT_NONE   = -1;
0155 %
0156 % Channel types
0157 %
0158 FIFF.FIFFV_MEG_CH     =   1;
0159 FIFF.FIFFV_REF_MEG_CH = 301;
0160 FIFF.FIFFV_EEG_CH     =   2;
0161 FIFF.FIFFV_MCG_CH     = 201;
0162 FIFF.FIFFV_STIM_CH    =   3;
0163 FIFF.FIFFV_EOG_CH     = 202;
0164 FIFF.FIFFV_EMG_CH     = 302;
0165 FIFF.FIFFV_ECG_CH     = 402;
0166 FIFF.FIFFV_MISC_CH    = 502;
0167 FIFF.FIFFV_RESP_CH    = 602;             % Respiration monitoring
0168 %
0169 % Quaternion channels for head position monitoring
0170 %
0171 FIFF.FIFFV_QUAT_0   = 700;                 % Quaternion parameter q0; obsolete for unit quaternion
0172 FIFF.FIFFV_QUAT_1   = 701;                 % Quaternion parameter q1; rotation
0173 FIFF.FIFFV_QUAT_2   = 702;                 % Quaternion parameter q2; rotation
0174 FIFF.FIFFV_QUAT_3   = 703;                 % Quaternion parameter q3; rotation
0175 FIFF.FIFFV_QUAT_4   = 704;                 % Quaternion parameter q4; translation
0176 FIFF.FIFFV_QUAT_5   = 705;                 % Quaternion parameter q5; translation
0177 FIFF.FIFFV_QUAT_6   = 706;                 % Quaternion parameter q6; translation
0178 FIFF.FIFFV_HPI_G    = 707;                 % Goodness-of-fit in continuous hpi
0179 FIFF.FIFFV_HPI_ERR  = 708;                 % Estimation error in continuous hpi
0180 FIFF.FIFFV_HPI_MOV  = 709;                 % Estimated head movement speed in continuous hpi
0181 %
0182 % Coordinate frames
0183 %
0184 FIFF.FIFFV_COORD_UNKNOWN        = 0;
0185 FIFF.FIFFV_COORD_DEVICE         = 1;
0186 FIFF.FIFFV_COORD_ISOTRAK        = 2;
0187 FIFF.FIFFV_COORD_HPI            = 3;
0188 FIFF.FIFFV_COORD_HEAD           = 4;
0189 FIFF.FIFFV_COORD_MRI            = 5;
0190 FIFF.FIFFV_COORD_MRI_SLICE      = 6;
0191 FIFF.FIFFV_COORD_MRI_DISPLAY    = 7;
0192 FIFF.FIFFV_COORD_DICOM_DEVICE   = 8;
0193 FIFF.FIFFV_COORD_IMAGING_DEVICE = 9;
0194 %
0195 % Needed for raw and evoked-response data
0196 %
0197 FIFF.FIFF_FIRST_SAMPLE       = 208;
0198 FIFF.FIFF_LAST_SAMPLE        = 209;
0199 FIFF.FIFF_ASPECT_KIND        = 210;
0200 FIFF.FIFF_DATA_BUFFER        = 300;      % Buffer containing measurement data
0201 FIFF.FIFF_DATA_SKIP          = 301;      % Data skip in buffers
0202 FIFF.FIFF_EPOCH              = 302;      % Buffer containing one epoch and channel
0203 FIFF.FIFF_DATA_SKIP_SAMP     = 303;      % Data skip in samples
0204 FIFF.FIFF_MNE_BASELINE_MIN   = 304;      % Time of baseline beginning
0205 FIFF.FIFF_MNE_BASELINE_MAX   = 305;      % Time of baseline end
0206 %
0207 % Different aspects of data
0208 %
0209 FIFF.FIFFV_ASPECT_AVERAGE       = 100;      % Normal average of epochs
0210 FIFF.FIFFV_ASPECT_STD_ERR       = 101;      % Std. error of mean
0211 FIFF.FIFFV_ASPECT_SINGLE        = 102;      % Single epoch cut out from the continuous data
0212 FIFF.FIFFV_ASPECT_SUBAVERAGE    = 103;
0213 FIFF.FIFFV_ASPECT_ALTAVERAGE    = 104;      % Alternating subaverage
0214 FIFF.FIFFV_ASPECT_SAMPLE        = 105;      % A sample cut out by graph
0215 FIFF.FIFFV_ASPECT_POWER_DENSITY = 106;    % Power density spectrum
0216 FIFF.FIFFV_ASPECT_DIPOLE_WAVE   = 200;    % Dipole amplitude curve
0217 %
0218 % BEM surface IDs
0219 %
0220 FIFF.FIFFV_BEM_SURF_ID_UNKNOWN    = -1;
0221 FIFF.FIFFV_BEM_SURF_ID_BRAIN      = 1;
0222 FIFF.FIFFV_BEM_SURF_ID_SKULL      = 3;
0223 FIFF.FIFFV_BEM_SURF_ID_HEAD       = 4;
0224 %
0225 % More of those defined in MNE
0226 %
0227 FIFF.FIFFV_MNE_SURF_UNKNOWN       = -1;
0228 FIFF.FIFFV_MNE_SURF_LEFT_HEMI     = 101;
0229 FIFF.FIFFV_MNE_SURF_RIGHT_HEMI    = 102;
0230 %
0231 %   These relate to the Isotrak data
0232 %
0233 FIFF.FIFFV_POINT_CARDINAL = 1;
0234 FIFF.FIFFV_POINT_HPI      = 2;
0235 FIFF.FIFFV_POINT_EEG      = 3;
0236 FIFF.FIFFV_POINT_ECG      = FIFF.FIFFV_POINT_EEG;
0237 FIFF.FIFFV_POINT_EXTRA    = 4;
0238 
0239 FIFF.FIFFV_POINT_LPA = 1;
0240 FIFF.FIFFV_POINT_NASION = 2;
0241 FIFF.FIFFV_POINT_RPA = 3;
0242 %
0243 %   SSP
0244 %
0245 FIFF.FIFF_PROJ_ITEM_KIND         = 3411;
0246 FIFF.FIFF_PROJ_ITEM_TIME         = 3412;
0247 FIFF.FIFF_PROJ_ITEM_NVEC         = 3414;
0248 FIFF.FIFF_PROJ_ITEM_VECTORS      = 3415;
0249 FIFF.FIFF_PROJ_ITEM_CH_NAME_LIST = 3417;
0250 %
0251 %   MRIs
0252 %
0253 FIFF.FIFF_MRI_SOURCE_PATH       = 1101;
0254 FIFF.FIFF_MRI_SOURCE_FORMAT     = 2002;
0255 FIFF.FIFF_MRI_PIXEL_ENCODING    = 2003;
0256 FIFF.FIFF_MRI_PIXEL_DATA_OFFSET = 2004;
0257 FIFF.FIFF_MRI_PIXEL_SCALE       = 2005;
0258 FIFF.FIFF_MRI_PIXEL_DATA        = 2006;
0259 FIFF.FIFF_MRI_WIDTH             = 2010;
0260 FIFF.FIFF_MRI_WIDTH_M           = 2011;
0261 FIFF.FIFF_MRI_HEIGHT            = 2012;
0262 FIFF.FIFF_MRI_HEIGHT_M          = 2013;
0263 %
0264 FIFF.FIFFV_MRI_PIXEL_BYTE       = 1;
0265 FIFF.FIFFV_MRI_PIXEL_WORD       = 2;
0266 FIFF.FIFFV_MRI_PIXEL_SWAP_WORD  = 3;
0267 FIFF.FIFFV_MRI_PIXEL_FLOAT      = 4;
0268 %
0269 %   These are the MNE fiff definitions
0270 %
0271 FIFF.FIFFB_MNE                    = 350;
0272 FIFF.FIFFB_MNE_SOURCE_SPACE       = 351;
0273 FIFF.FIFFB_MNE_FORWARD_SOLUTION   = 352;
0274 FIFF.FIFFB_MNE_PARENT_MRI_FILE    = 353;
0275 FIFF.FIFFB_MNE_PARENT_MEAS_FILE   = 354;
0276 FIFF.FIFFB_MNE_COV                = 355;
0277 FIFF.FIFFB_MNE_INVERSE_SOLUTION   = 356;
0278 FIFF.FIFFB_MNE_NAMED_MATRIX       = 357;
0279 FIFF.FIFFB_MNE_ENV                = 358;
0280 FIFF.FIFFB_MNE_BAD_CHANNELS       = 359;
0281 FIFF.FIFFB_MNE_VERTEX_MAP         = 360;
0282 FIFF.FIFFB_MNE_EVENTS             = 361;
0283 FIFF.FIFFB_MNE_MORPH_MAP          = 362;
0284 %
0285 % CTF compensation data
0286 %
0287 FIFF.FIFFB_MNE_CTF_COMP           = 370;
0288 FIFF.FIFFB_MNE_CTF_COMP_DATA      = 371;
0289 %
0290 % Fiff tags associated with MNE computations (3500...)
0291 %
0292 %
0293 % 3500... Bookkeeping
0294 %
0295 FIFF.FIFF_MNE_ROW_NAMES              = 3502;
0296 FIFF.FIFF_MNE_COL_NAMES              = 3503;
0297 FIFF.FIFF_MNE_NROW                   = 3504;
0298 FIFF.FIFF_MNE_NCOL                   = 3505;
0299 FIFF.FIFF_MNE_COORD_FRAME            = 3506;      % Coordinate frame employed. Defaults:
0300 %  FIFFB_MNE_SOURCE_SPACE       FIFFV_COORD_MRI
0301 %  FIFFB_MNE_FORWARD_SOLUTION   FIFFV_COORD_HEAD
0302 %  FIFFB_MNE_INVERSE_SOLUTION   FIFFV_COORD_HEAD
0303 FIFF.FIFF_MNE_CH_NAME_LIST           = 3507;
0304 FIFF.FIFF_MNE_FILE_NAME              = 3508;      % This removes the collision with fiff_file.h (used to be 3501)
0305 %
0306 % 3510... 3590... Source space or surface
0307 %
0308 FIFF.FIFF_MNE_SOURCE_SPACE_POINTS        = 3510;    % The vertices
0309 FIFF.FIFF_MNE_SOURCE_SPACE_NORMALS       = 3511;    % The vertex normals
0310 FIFF.FIFF_MNE_SOURCE_SPACE_NPOINTS       = 3512;    % How many vertices
0311 FIFF.FIFF_MNE_SOURCE_SPACE_SELECTION     = 3513;    % Which are selected to the source space
0312 FIFF.FIFF_MNE_SOURCE_SPACE_NUSE          = 3514;    % How many are in use
0313 FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST       = 3515;    % Nearest source space vertex for all vertices
0314 FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST_DIST  = 3516;    % Distance to the Nearest source space vertex for all vertices
0315 FIFF.FIFF_MNE_SOURCE_SPACE_ID            = 3517;    % Identifier
0316 FIFF.FIFF_MNE_SOURCE_SPACE_TYPE          = 3518;    % Surface or volume
0317 
0318 FIFF.FIFF_MNE_SOURCE_SPACE_NTRI          = 3590;    % Number of triangles
0319 FIFF.FIFF_MNE_SOURCE_SPACE_TRIANGLES     = 3591;    % The triangulation
0320 FIFF.FIFF_MNE_SOURCE_SPACE_NUSE_TRI      = 3592;    % Number of triangles corresponding to the number of vertices in use
0321 FIFF.FIFF_MNE_SOURCE_SPACE_USE_TRIANGLES = 3593;    % The triangulation of the used vertices in the source space
0322 FIFF.FIFF_MNE_SOURCE_SPACE_NNEIGHBORS    = 3594;     % Number of neighbors for each source space point (used for volume source spaces)
0323 FIFF.FIFF_MNE_SOURCE_SPACE_NEIGHBORS     = 3595;    % Neighbors for each source space point (used for volume source spaces)
0324 FIFF.FIFF_MNE_SOURCE_SPACE_VOXEL_DIMS    = 3596;    % Voxel space dimensions in a volume source space
0325 FIFF.FIFF_MNE_SOURCE_SPACE_INTERPOLATOR  = 3597;    % Matrix to interpolate a volume source space into a mri volume
0326 FIFF.FIFF_MNE_SOURCE_SPACE_MRI_FILE      = 3598;    % MRI file used in the interpolation
0327 
0328 FIFF.FIFF_MNE_SOURCE_SPACE_DIST          = 3599;    % Distances between vertices in use (along the surface)
0329 FIFF.FIFF_MNE_SOURCE_SPACE_DIST_LIMIT    = 3600;    % If distance is above this limit (in the volume) it has not been calculated
0330 %
0331 % 3520... Forward solution
0332 %
0333 FIFF.FIFF_MNE_FORWARD_SOLUTION       = 3520;
0334 FIFF.FIFF_MNE_SOURCE_ORIENTATION     = 3521;    % Fixed or free
0335 FIFF.FIFF_MNE_INCLUDED_METHODS       = 3522;
0336 FIFF.FIFF_MNE_FORWARD_SOLUTION_GRAD  = 3523;
0337 %
0338 % 3530... Covariance matrix
0339 %
0340 FIFF.FIFF_MNE_COV_KIND               = 3530;      % What kind of a covariance matrix
0341 FIFF.FIFF_MNE_COV_DIM                = 3531;      % Matrix dimension
0342 FIFF.FIFF_MNE_COV                    = 3532;      % Full matrix in packed representation (lower triangle)
0343 FIFF.FIFF_MNE_COV_DIAG               = 3533;      % Diagonal matrix
0344 FIFF.FIFF_MNE_COV_EIGENVALUES        = 3534;       % Eigenvalues and eigenvectors of the above
0345 FIFF.FIFF_MNE_COV_EIGENVECTORS       = 3535;
0346 FIFF.FIFF_MNE_COV_NFREE              = 3536;       % Number of degrees of freedom
0347 %
0348 % 3540... Inverse operator
0349 %
0350 % We store the inverse operator as the eigenleads, eigenfields,
0351 % and weights
0352 %
0353 FIFF.FIFF_MNE_INVERSE_LEADS              = 3540;   % The eigenleads
0354 FIFF.FIFF_MNE_INVERSE_LEADS_WEIGHTED     = 3546;   % The eigenleads (already weighted with R^0.5)
0355 FIFF.FIFF_MNE_INVERSE_FIELDS             = 3541;   % The eigenfields
0356 FIFF.FIFF_MNE_INVERSE_SING               = 3542;   % The singular values
0357 FIFF.FIFF_MNE_PRIORS_USED                = 3543;   % Which kind of priors have been used for the source covariance matrix
0358 FIFF.FIFF_MNE_INVERSE_FULL               = 3544;   % Inverse operator as one matrix
0359 % This matrix includes the whitening operator as well
0360 % The regularization is applied
0361 FIFF.FIFF_MNE_INVERSE_SOURCE_ORIENTATIONS = 3545;  % Contains the orientation of one source per row
0362 % The source orientations must be expressed in the coordinate system
0363 % given by FIFF_MNE_COORD_FRAME
0364 %
0365 % 3550... Saved environment info
0366 %
0367 FIFF.FIFF_MNE_ENV_WORKING_DIR        = 3550;     % Working directory where the file was created
0368 FIFF.FIFF_MNE_ENV_COMMAND_LINE       = 3551;     % The command used to create the file
0369 %
0370 % 3560... Miscellaneous
0371 %
0372 FIFF.FIFF_MNE_PROJ_ITEM_ACTIVE       = 3560;     % Is this projection item active?
0373 FIFF.FIFF_MNE_EVENT_LIST             = 3561;     % An event list (for STI 014)
0374 FIFF.FIFF_MNE_HEMI                   = 3562;     % Hemisphere association for general purposes
0375 %
0376 % 3570... Morphing maps
0377 %
0378 FIFF.FIFF_MNE_MORPH_MAP              = 3570;     % Mapping of closest vertices on the sphere
0379 FIFF.FIFF_MNE_MORPH_MAP_FROM         = 3571;     % Which subject is this map from
0380 FIFF.FIFF_MNE_MORPH_MAP_TO           = 3572;     % Which subject is this map to
0381 %
0382 % 3580... CTF compensation data
0383 %
0384 FIFF.FIFF_MNE_CTF_COMP_KIND         = 3580;     % What kind of compensation
0385 FIFF.FIFF_MNE_CTF_COMP_DATA         = 3581;     % The compensation data itself
0386 FIFF.FIFF_MNE_CTF_COMP_CALIBRATED   = 3582;     % Are the coefficients calibrated?
0387 
0388 
0389 %
0390 % 3700... Real-Time Communication
0391 %
0392 FIFF.FIFF_MNE_RT_COMMAND            = 3700;        % Fiff Real-Time Command
0393 FIFF.FIFF_MNE_RT_CLIENT_ID          = 3701;     % Fiff Real-Time mne_rt_server client id
0394 
0395 
0396 %
0397 % 3710... Real-Time Blocks
0398 %
0399 FIFF.FIFFB_MNE_RT_MEAS_INFO         = 3710;     % Fiff Real-Time Measurement Info
0400 
0401 
0402 %
0403 % Fiff values associated with MNE computations
0404 %
0405 FIFF.FIFFV_MNE_FIXED_ORI            = 1;
0406 FIFF.FIFFV_MNE_FREE_ORI             = 2;
0407 
0408 FIFF.FIFFV_MNE_MEG                  = 1;
0409 FIFF.FIFFV_MNE_EEG                  = 2;
0410 FIFF.FIFFV_MNE_MEG_EEG              = 3;
0411 
0412 FIFF.FIFFV_MNE_UNKNOWN_COV          = 0;
0413 FIFF.FIFFV_MNE_SENSOR_COV           = 1;
0414 FIFF.FIFFV_MNE_NOISE_COV            = 1;         % This is what it should have been called
0415 FIFF.FIFFV_MNE_SOURCE_COV           = 2;
0416 FIFF.FIFFV_MNE_FMRI_PRIOR_COV       = 3;
0417 FIFF.FIFFV_MNE_SIGNAL_COV           = 4;         % This will be potentially employed in beamformers
0418 FIFF.FIFFV_MNE_DEPTH_PRIOR_COV      = 5;         % The depth weighting prior
0419 FIFF.FIFFV_MNE_ORIENT_PRIOR_COV     = 6;     % The orientation prior
0420 %
0421 % Source space types (values of FIFF_MNE_SOURCE_SPACE_TYPE)
0422 %
0423 FIFF.FIFFV_MNE_SPACE_UNKNOWN  = -1;
0424 FIFF.FIFFV_MNE_SPACE_SURFACE  = 1;
0425 FIFF.FIFFV_MNE_SPACE_VOLUME   = 2;
0426 FIFF.FIFFV_MNE_SPACE_DISCRETE = 3;
0427 %
0428 % Covariance matrix channel classification
0429 %
0430 FIFF.FIFFV_MNE_COV_CH_UNKNOWN  = -1;  % No idea
0431 FIFF.FIFFV_MNE_COV_CH_MEG_MAG  =  0;  % Axial gradiometer or magnetometer [T]
0432 FIFF.FIFFV_MNE_COV_CH_MEG_GRAD =  1;  % Planar gradiometer [T/m]
0433 FIFF.FIFFV_MNE_COV_CH_EEG      =  2;  % EEG [V]
0434 %
0435 % Projection item kinds
0436 %
0437 FIFF.FIFFV_PROJ_ITEM_NONE           = 0;
0438 FIFF.FIFFV_PROJ_ITEM_FIELD          = 1;
0439 FIFF.FIFFV_PROJ_ITEM_DIP_FIX        = 2;
0440 FIFF.FIFFV_PROJ_ITEM_DIP_ROT        = 3;
0441 FIFF.FIFFV_PROJ_ITEM_HOMOG_GRAD     = 4;
0442 FIFF.FIFFV_PROJ_ITEM_HOMOG_FIELD    = 5;
0443 FIFF.FIFFV_MNE_PROJ_ITEM_EEG_AVREF  = 10;
0444 %
0445 % Additional coordinate frames
0446 %
0447 FIFF.FIFFV_MNE_COORD_TUFTS_EEG   =  300;         % For Tufts EEG data
0448 FIFF.FIFFV_MNE_COORD_CTF_DEVICE  = 1001;     % CTF device coordinates
0449 FIFF.FIFFV_MNE_COORD_CTF_HEAD    = 1004;         % CTF head coordinates
0450 FIFF.FIFFV_MNE_COORD_MRI_VOXEL   = 2001;         % The MRI voxel coordinates
0451 FIFF.FIFFV_MNE_COORD_RAS         = 2002;         % Surface RAS coordinates with non-zero origin
0452 FIFF.FIFFV_MNE_COORD_MNI_TAL     = 2003;         % MNI Talairach coordinates
0453 FIFF.FIFFV_MNE_COORD_FS_TAL_GTZ  = 2004;         % FreeSurfer Talairach coordinates (MNI z > 0)
0454 FIFF.FIFFV_MNE_COORD_FS_TAL_LTZ  = 2005;         % FreeSurfer Talairach coordinates (MNI z < 0)
0455 FIFF.FIFFV_MNE_COORD_FS_TAL      = 2006;         % FreeSurfer Talairach coordinates
0456 %
0457 % CTF coil and channel types
0458 %
0459 FIFF.FIFFV_REF_MEG_CH             = 301;
0460 %
0461 %   Data types
0462 %
0463 FIFF.FIFFT_VOID                  = 0;
0464 FIFF.FIFFT_BYTE                  = 1;
0465 FIFF.FIFFT_SHORT                 = 2;
0466 FIFF.FIFFT_INT                   = 3;
0467 FIFF.FIFFT_FLOAT                 = 4;
0468 FIFF.FIFFT_DOUBLE                = 5;
0469 FIFF.FIFFT_JULIAN                = 6;
0470 FIFF.FIFFT_USHORT                = 7;
0471 FIFF.FIFFT_UINT                  = 8;
0472 FIFF.FIFFT_ULONG                 = 9;
0473 FIFF.FIFFT_STRING                = 10;
0474 FIFF.FIFFT_LONG                  = 11;
0475 FIFF.FIFFT_DAU_PACK13            = 13;
0476 FIFF.FIFFT_DAU_PACK14            = 14;
0477 FIFF.FIFFT_DAU_PACK16            = 16;
0478 FIFF.FIFFT_COMPLEX_FLOAT         = 20;
0479 FIFF.FIFFT_COMPLEX_DOUBLE        = 21;
0480 FIFF.FIFFT_OLD_PACK              = 23;
0481 FIFF.FIFFT_CH_INFO_STRUCT        = 30;
0482 FIFF.FIFFT_ID_STRUCT             = 31;
0483 FIFF.FIFFT_DIR_ENTRY_STRUCT      = 32;
0484 FIFF.FIFFT_DIG_POINT_STRUCT      = 33;
0485 FIFF.FIFFT_CH_POS_STRUCT         = 34;
0486 FIFF.FIFFT_COORD_TRANS_STRUCT    = 35;
0487 FIFF.FIFFT_DIG_STRING_STRUCT     = 36;
0488 FIFF.FIFFT_STREAM_SEGMENT_STRUCT = 37;
0489 %
0490 % Units of measurement
0491 %
0492 FIFF.FIFF_UNIT_NONE = -1;
0493 %
0494 % SI base units
0495 %
0496 FIFF.FIFF_UNIT_M   = 1;
0497 FIFF.FIFF_UNIT_KG  = 2;
0498 FIFF.FIFF_UNIT_SEC = 3;
0499 FIFF.FIFF_UNIT_A   = 4;
0500 FIFF.FIFF_UNIT_K   = 5;
0501 FIFF.FIFF_UNIT_MOL = 6;
0502 %
0503 % SI Supplementary units
0504 %
0505 FIFF.FIFF_UNIT_RAD = 7;
0506 FIFF.FIFF_UNIT_SR  = 8;
0507 %
0508 % SI base candela
0509 %
0510 FIFF.FIFF_UNIT_CD  = 9;
0511 %
0512 % SI derived units
0513 %
0514 FIFF.FIFF_UNIT_HZ  = 101;
0515 FIFF.FIFF_UNIT_N   = 102;
0516 FIFF.FIFF_UNIT_PA  = 103;
0517 FIFF.FIFF_UNIT_J   = 104;
0518 FIFF.FIFF_UNIT_W   = 105;
0519 FIFF.FIFF_UNIT_C   = 106;
0520 FIFF.FIFF_UNIT_V   = 107;
0521 FIFF.FIFF_UNIT_F   = 108;
0522 FIFF.FIFF_UNIT_OHM = 109;
0523 FIFF.FIFF_UNIT_MHO = 110;
0524 FIFF.FIFF_UNIT_WB  = 111;
0525 FIFF.FIFF_UNIT_T   = 112;
0526 FIFF.FIFF_UNIT_H   = 113;
0527 FIFF.FIFF_UNIT_CEL = 114;
0528 FIFF.FIFF_UNIT_LM  = 115;
0529 FIFF.FIFF_UNIT_LX  = 116;
0530 %
0531 % Others we need
0532 %
0533 FIFF.FIFF_UNIT_T_M   = 201; % T/m
0534 FIFF.FIFF_UNIT_AM    = 202; % Am
0535 FIFF.FIFF_UNIT_AM_M2 = 203; % Am/m^2
0536 FIFF.FIFF_UNIT_AM_M3 = 204; % Am/m^3
0537 %
0538 % Multipliers
0539 %
0540 FIFF.FIFF_UNITM_E    = 18;
0541 FIFF.FIFF_UNITM_PET  = 15;
0542 FIFF.FIFF_UNITM_T    = 12;
0543 FIFF.FIFF_UNITM_MEG  = 6;
0544 FIFF.FIFF_UNITM_K    = 3;
0545 FIFF.FIFF_UNITM_H    = 2;
0546 FIFF.FIFF_UNITM_DA   = 1;
0547 FIFF.FIFF_UNITM_NONE = 0;
0548 FIFF.FIFF_UNITM_D    = -1;
0549 FIFF.FIFF_UNITM_C    = -2;
0550 FIFF.FIFF_UNITM_M    = -3;
0551 FIFF.FIFF_UNITM_MU   = -6;
0552 FIFF.FIFF_UNITM_N    = -9;
0553 FIFF.FIFF_UNITM_P    = -12;
0554 FIFF.FIFF_UNITM_F    = -15;
0555 FIFF.FIFF_UNITM_A    = -18;
0556 
0557 %
0558 % MNE epochs bookkeeping
0559 %
0560 FIFF.FIFFB_MNE_EPOCHS_SELECTION    = 3800;  % the epochs selection
0561 FIFF.FIFFB_MNE_EPOCHS_DROP_LOG     = 3801;  % the drop log
0562 
0563 return
0564 
0565 end
0566

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005