⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fasticag.asv

📁 用于脑电信号特征提取的InfoMax Algorithm Based on ICA;也可以稍作改动用于其他信息提取。
💻 ASV
📖 第 1 页 / 共 2 页
字号:
b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb Transpose', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Transpose', ...  'Tag','b_Transpose');pos_w = 130;pos_l = pos_frame(1) + pos_frame(3) - pos_hspace - pos_w;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb ShowMixed', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Plot data', ...  'Tag','b_ShowMixed');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Controls in f_whitepos_frame=get(h_f_white, 'Position');pos_l = pos_frame(1) + 6;pos_h = 16;pos_t = pos_frame(2) + pos_frame(4) - pos_h - 6;pos_w = 150;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Dimension control:', ...  'FontWeight', 'bold', ...  'Style','text', ...  'Tag','t_white');pos_l = pos_l + pos_w;pos_w = 120;ht_FastICA_whiteStatus = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','', ...  'Style','text', ...  'Tag','t_whiteStatus');% V鋒鋘 v鋖i?pos_t = pos_t - 8;pos_l = pos_frame(1) + 6;pos_t = pos_t - pos_h;pos_w = 150;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Reduced dimension:', ...  'Style','text', ...  'Tag','t_4');pos_l = pos_l + pos_w;pos_w = 50;ht_FastICA_newDim = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','', ...  'Style','text', ...  'Tag','t_newDim');% buttonspos_l = pos_frame(1) + pos_hspace;pos_w = 110;pos_h = 30;pos_t = pos_frame(2) + pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb DoPCA', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Reduce dim.', ...  'Tag','b_DoPCA');pos_l = pos_l + pos_w + pos_hspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb OrigDim', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Original dim.', ...  'Tag','b_OrigDim');pos_w = 130;pos_h = 30;pos_l = pos_frame(1) + pos_frame(3) - 6 - pos_w;pos_t = pos_frame(2) + 6;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb ShowWhite', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Plot whitened', ...  'Tag','b_ShowWhite');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Controls in f_icapos_frame=get(h_f_ica, 'Position');pos_l = pos_frame(1) + 6;pos_h = 20;pos_t = pos_frame(2) + pos_frame(4) - pos_h - 6;pos_w = 150;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Fixed point ICA:', ...  'FontWeight', 'bold', ...  'Style','text', ...  'Tag','t_white');pos_l = pos_l + pos_w;pos_w = 120;ht_FastICA_icaStatus = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Not yet done', ...  'Style','text', ...  'Tag','t_icaStatus');% V鋒鋘 v鋖i?pos_t = pos_t - 8;%pos_l = pos_frame(1) + 6;pos_l = pos_frame(1) + 6 + 150;pos_t = pos_t - pos_h;%pos_w = 260;pos_w = 120;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Approach:', ...  'Style','text', ...  'Tag','t_5');pos_w = 100;%pos_t = pos_t - 4;pos_l = pos_frame(1) + pos_frame(3) - 6 - pos_w;hpm_FastICA_approach = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'Callback','gui_cb ChangeApproach', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String',c_FastICA_appr_strD, ...  'Style','popupmenu', ...  'Tag','pm_approach', ...  'Value',g_FastICA_approach);%pos_t = pos_t - 4;%pos_l = pos_frame(1) + 6;pos_l = pos_frame(1) + 6 + 150;pos_t = pos_t - pos_h;%pos_w = 260;pos_w = 120;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Number of ICs:', ...  'Style','text', ...  'Tag','t_6');pos_w = 100;pos_l = pos_frame(1) + pos_frame(3) - 6 - pos_w;he_FastICA_numOfIC = uicontrol('Parent',a, ...  'BackgroundColor',[1 1 1], ...  'Callback','gui_cb ChangeNumOfIC', ...  'HorizontalAlignment','right', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','0', ...  'Style','edit', ...  'Tag','e_numOfIC');%pos_t = pos_t - 4;%pos_l = pos_frame(1) + 6;pos_l = pos_frame(1) + 6 + 150;pos_t = pos_t - pos_h;%pos_w = 260;pos_w = 120;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Nonlinearity (g):', ...  'Style','text', ...  'Tag','t_71');%pos_t = pos_t - 4;pos_w = 100;pos_l = pos_frame(1) + pos_frame(3) - 6 - pos_w;hpm_FastICA_g = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'Callback','gui_cb ChangeG', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String',c_FastICA_g1_strD, ...  'Style','popupmenu', ...  'Tag','pm_g', ...  'Value',g_FastICA_g);%pos_t = pos_t - 4;%pos_l = pos_frame(1) + 6;pos_l = pos_frame(1) + 6 + 150;pos_t = pos_t - pos_h;%pos_w = 260;pos_w = 120;b = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'HorizontalAlignment','left', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Stabilization:', ...  'Style','text', ...  'Tag','t_71a');%pos_t = pos_t - 4;pos_w = 100;pos_l = pos_frame(1) + pos_frame(3) - 6 - pos_w;hpm_FastICA_stabilization = uicontrol('Parent',a, ...  'BackgroundColor',bgc, ...  'Callback','gui_cb ChangeStab', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String',c_FastICA_stabili_strD, ...  'Style','popupmenu', ...  'Tag','pm_stab', ...  'Value',g_FastICA_stabilization);pos_l = pos_frame(1) + pos_vspace;pos_w = 110;pos_h = 30;pos_t = pos_frame(2) + pos_hspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb AdvOpt', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Adv. options >>', ...  'Tag','b_advOpt');pos_w = 130;pos_h = 30;pos_l = pos_frame(1) + pos_frame(3) - pos_vspace - pos_w;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb ShowICASig', ...  'Interruptible', 'on', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Plot ICs', ...  'Tag','b_ShowICASig');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Controls in f_sidepos_vspace = 6;pos_hspace = 10;pos_temp=get(h_f_side, 'Position');pos_l=pos_temp(1)+pos_hspace;pos_w=100;pos_h=30;pos_t=pos_temp(2)+pos_temp(4)-pos_vspace-pos_h;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb LoadData', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Load data', ...  'Tag','b_LoadData');pos_t=pos_t-pos_h-pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb DoFPICA', ...  'Interruptible', 'on', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Do ICA', ...  'Tag','b_DoFPICA');pos_t=pos_t-pos_h-pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb SaveData', ...  'Interruptible', 'off', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Save results', ...  'Tag','b_SaveData');pos_t=pos_t-pos_h-pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb Quit', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Quit', ...  'Tag','b_Quit');pos_t=pos_t-pos_h-pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb Interrupt', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Interrupt', ...  'Visible','off', ...  'Tag','b_Interrupt');pos_t = pos_frame(2) + pos_vspace + pos_h + pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb About', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','About...', ...  'Tag','b_About');pos_t = pos_frame(2) + pos_vspace;b = uicontrol('Parent',a, ...  'BackgroundColor',[0.701961 0.701961 0.701961], ...  'Callback','gui_cb Help', ...  'Position',[pos_l pos_t pos_w pos_h], ...  'String','Help', ...  'Tag','b_Help');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Do rest of the initialization...  gui_cb InitAll;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -