Home > vbmeg > functions > template > vb_set_meg_parm_brainamp.m

vb_set_meg_parm_brainamp

PURPOSE ^

set values to the meg_parm for vb_job_meg (BRAINAMP)

SYNOPSIS ^

function [meg_parm] = vb_set_meg_parm_brainamp

DESCRIPTION ^

 set values to the meg_parm for vb_job_meg (BRAINAMP)
 [usage]
   [meg_parm] = vb_set_meg_parm_biosemi(device_code)
 [input]
   device_code : <optional> device code for 1) BRAINAMP
               :  default is [1]
 [output]
      meg_parm : <<struct>> meg_parm
               :  .Measurement      : 'EEG'
               :  .device           : 'BRAINAMP'
               :  .measurement_file : input file (normally *.bdf)
               :  .pos_file         : position file (*.pos.mat)
               :  .output_file      : output file (normally *.eeg.mat)
 [note]

 [history]
   2014/08/19 rhayashi initial version

 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 function [meg_parm] = vb_set_meg_parm_brainamp
0002 % set values to the meg_parm for vb_job_meg (BRAINAMP)
0003 % [usage]
0004 %   [meg_parm] = vb_set_meg_parm_biosemi(device_code)
0005 % [input]
0006 %   device_code : <optional> device code for 1) BRAINAMP
0007 %               :  default is [1]
0008 % [output]
0009 %      meg_parm : <<struct>> meg_parm
0010 %               :  .Measurement      : 'EEG'
0011 %               :  .device           : 'BRAINAMP'
0012 %               :  .measurement_file : input file (normally *.bdf)
0013 %               :  .pos_file         : position file (*.pos.mat)
0014 %               :  .output_file      : output file (normally *.eeg.mat)
0015 % [note]
0016 %
0017 % [history]
0018 %   2014/08/19 rhayashi initial version
0019 %
0020 % Copyright (C) 2011, ATR All Rights Reserved.
0021 % License : New BSD License(see VBMEG_LICENSE.txt)
0022 
0023 if ~exist('device_code', 'var') || isempty(device_code)
0024   device_code = 1;
0025 end
0026 
0027 func_ = mfilename;
0028 
0029 % --- EEG --- %
0030 if device_code == 1
0031 
0032   % --- REQUIRED --------------------------------------------------- %
0033 
0034   meg_parm = vb_meg_parm_set_measurement([], 'EEG', 'BRAINAMP');
0035   
0036 % --- brainamp
0037 %
0038 % subject
0039   meg_parm.measurement_file   = ''; % .eeg file
0040   meg_parm.pos_file           = ''; % .pos.mat file
0041   meg_parm.output_file        = ''; % .eeg.mat file
0042 
0043 else
0044   error('(%s)undefined device_code : %d', func_, device_code);
0045 end
0046 
0047 %%% END OF FILE %%%

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