Home > vbmeg > functions > device > vb_define_device.m

vb_define_device

PURPOSE ^

define constants for device

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 define constants for device
 [history]
   2006-12-04 (Sako) initial version
   2007-08-23 (Sako) added status channel of EEG
   2011-02-07 (Sako) changed definitions of FILE_EXT_BIN

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %
0002 % define constants for device
0003 % [history]
0004 %   2006-12-04 (Sako) initial version
0005 %   2007-08-23 (Sako) added status channel of EEG
0006 %   2011-02-07 (Sako) changed definitions of FILE_EXT_BIN
0007 %
0008 % Copyright (C) 2011, ATR All Rights Reserved.
0009 % License : New BSD License(see VBMEG_LICENSE.txt)
0010 FILE_EXT_BIN_CH_EEG = 'ch.eeg.dat';
0011 FILE_EXT_BIN_CH_MEG = 'ch.meg.dat';
0012 FILE_EXT_BIN_TR_EEG = 'tr.eeg.dat';
0013 FILE_EXT_BIN_TR_MEG = 'tr.meg.dat';
0014 
0015 STANDARD_BIN_DATA_TYPE = 'float32';
0016 STANDARD_BIN_DATA_SIZE = 4;
0017 
0018 STATUS_CH_DATA_TYPE = 'bit24';
0019 STATUS_BIN_DATA_SIZE = 3;
0020 STATUS_CH_LABEL = 'Status';
0021 
0022 % --- ACQ TYPE
0023 MEG_ACQTYPE_CON_RAW = 'Continuous_Raw';
0024 MEG_ACQTYPE_EVO_AVE = 'Evoked_Ave';
0025 MEG_ACQTYPE_EVO_RAW = 'Evoked_Raw';
0026 
0027 AcqTypeContinuousRaw = 1;
0028 AcqTypeEvokedAve     = 2;
0029 AcqTypeEvokedRaw     = 3;
0030 
0031 DEFAULT_CH_FILE_BODY     = 'test';
0032 DEFAULT_CH_FILE_BODY_EEG = 'eeg';
0033 DEFAULT_CH_FILE_BODY_MEG = 'meg';
0034 DEFAULT_CH_FILE_BODY_UNKNOWN = 'measurement';
0035 
0036 DEFAULT_BIT_LEN = 24;
0037 DEFAULT_TRIGGER_CH_NUM = 16;
0038 
0039 EEGINFO_DEFAULT_AUX_LABEL  = 'AUX';
0040 
0041 EEGINFO_PROCESS_REFERENCE = 'REFERENCE';
0042 EEGINFO_PROCESS_FILTER    = 'FILTER';
0043 EEGINFO_PROCESS_SEGMENT   = 'SEGMENT';
0044 
0045 EEGINFO_REFERENCE_COMMON = 'COMMON'; % common reference
0046 EEGINFO_REFERENCE_AV     = 'AV';   % average potential reference
0047 EEGINFO_REFERENCE_BNE    = 'BNE';  % balanced noncephalic referential electrode
0048 EEGINFO_REFERENCE_BD     = 'BD';   % bipolar derivation
0049 EEGINFO_REFERENCE_SDM    = 'SDM';  % SD (source derivation) method
0050 
0051 EEGINFO_FILTER_LPF  = 'LPF';       % low-pass filter
0052 EEGINFO_FILTER_HPF  = 'HPF';       % high-pass filter
0053 EEGINFO_FILTER_BPF  = 'BPF';       % band-pass filter
0054 
0055 % EEGINFO_FILTER_TYPE_
0056 
0057 EEG_TRIGGER_CHANNEL = 'Triggers and Status';
0058 TRIGGER_HOW_FULL = 'FULL';
0059 TRIGGER_HOW_SEMI = 'SEMI';
0060 TRIGGER_HOW_FILE = 'FILE';
0061 TRIGGER_HOW_MANUAL = 'MANUAL';
0062 %%% END OF FILE %%%

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