Home > vbmeg > functions > template > vb_set_extra_brain_parm.m

vb_set_extra_brain_parm

PURPOSE ^

Parameter set to add extra dipole to brain for artifact removal

SYNOPSIS ^

function [extra_brain_parm] = vb_set_extra_brain_parm

DESCRIPTION ^

 Parameter set to add extra dipole to brain for artifact removal
  [extra_brain_parm]  = vb_set_extra_brain_parm
  extra_brain_parm : parameter structure with following fields

 --- Parameter for extra dipole
   .extra_key : area key name for extra dipole index
   .act_ratio : act ratio between fMRI and extra dipole
 --- Input file
   Original brain file
   .brain_file
   .area_file
   .act_file
 --- Output file
   New brain file in which extra dipole positions are added
   .new_brainfile 
   .new_area_file 
   .new_act_file  

 2007-2-25 Masa-aki Sato


 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 [extra_brain_parm]  = vb_set_extra_brain_parm
0002 % Parameter set to add extra dipole to brain for artifact removal
0003 %  [extra_brain_parm]  = vb_set_extra_brain_parm
0004 %  extra_brain_parm : parameter structure with following fields
0005 %
0006 % --- Parameter for extra dipole
0007 %   .extra_key : area key name for extra dipole index
0008 %   .act_ratio : act ratio between fMRI and extra dipole
0009 % --- Input file
0010 %   Original brain file
0011 %   .brain_file
0012 %   .area_file
0013 %   .act_file
0014 % --- Output file
0015 %   New brain file in which extra dipole positions are added
0016 %   .new_brainfile
0017 %   .new_area_file
0018 %   .new_act_file
0019 %
0020 % 2007-2-25 Masa-aki Sato
0021 %
0022 %
0023 % Copyright (C) 2011, ATR All Rights Reserved.
0024 % License : New BSD License(see VBMEG_LICENSE.txt)
0025 
0026 %
0027 % --- Standard parameters
0028 %
0029 
0030 extra_brain_parm.extra_key = 'extra';
0031 extra_brain_parm.act_ratio = 1;
0032 
0033 %
0034 % --- Input file (Relative path from proj_root)
0035 %
0036 extra_brain_parm.brain_file  = [ 'Retino_TY.brain.mat' ];
0037 extra_brain_parm.area_file   = [ 'Retino_TY.area.mat'];
0038 extra_brain_parm.act_file    = [ 'Retino_TY.act.mat'];
0039 
0040 %
0041 % --- Output file (Relative path from proj_root)
0042 %
0043 extra_brain_parm.new_brainfile = ['retino_test.brain.mat'];
0044 extra_brain_parm.new_areafile  = ['retino_test.area.mat'];
0045 extra_brain_parm.new_actfile   = ['retino_test.act.mat'];

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