Home > functions > default_param > vb_define_description_table.m

vb_define_description_table

PURPOSE ^

Define description table.

SYNOPSIS ^

function [tbl] = vb_define_description_table

DESCRIPTION ^

 Define description table.
 Add common description here.
 [USAGE]
    [tbl] = vb_define_description_table
 [OUT]
    tbl : description table data

 [see]
    vb_key_value_pair.m
    vb_table_insert.m
    vb_table_query_value.m

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [tbl] = vb_define_description_table
0002 % Define description table.
0003 % Add common description here.
0004 % [USAGE]
0005 %    [tbl] = vb_define_description_table
0006 % [OUT]
0007 %    tbl : description table data
0008 %
0009 % [see]
0010 %    vb_key_value_pair.m
0011 %    vb_table_insert.m
0012 %    vb_table_query_value.m
0013 
0014 
0015 tbl = [];
0016 
0017 % --- brain_file
0018 key = 'brain_file';
0019 value = sprintf('Cortical model file (.brain.mat)');
0020 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0021 
0022 % --- area_file
0023 key = 'area_file';
0024 value = sprintf('Cortical area file (.area.mat)');
0025 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0026 
0027 % --- act_file
0028 key = 'act_file';
0029 value = sprintf('Cortical activity file (.act.mat)');
0030 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0031 
0032 % --- current_file
0033 key = 'current_file';
0034 value = sprintf('Cortical current file (.curr.mat)');
0035 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0036 
0037 % --- tf_file
0038 key = 'tf_file';
0039 value = sprintf('Time frequency file (.tf.mat)');
0040 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0041 
0042 % --- current_mode
0043 key = 'current_load_mode';
0044 value = sprintf(['average :averaged current data is loaded.\n', ...
0045                  '    raw :specified single trial current data is loaded.']);
0046 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0047 
0048 % --- jpcp_current
0049 key = 'jpcp_current';
0050 value = '';
0051 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));
0052 
0053 % --- jpcp_timefreq
0054 key = 'jpcp_timefreq';
0055 value = '';
0056 tbl = vb_table_insert(tbl, vb_key_value_pair(key, value));

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005