Commit daf5210c authored by Tyler Collins's avatar Tyler Collins
Browse files

New qc script upload

parent e72eb56b
scalp_ud=get(findobj('Tag','ve_eeg'),'UserData');
if isempty(scalp_ud.data2)
comp_ud=get(findobj('Tag','ve_ica'),'UserData');
comp_keep=~comp_ud.chan_marks_struct(1).flags;
comp_proj=EEG.data;
comp_proj(EEG.icachansind,:) = EEG.icawinv(:, find(comp_keep))*eeg_getdatact(EEG, 'component', find(comp_keep));
scalp_ud.data2=comp_proj;
else
scalp_ud.data2=[];
end
set(findobj('Tag','ve_eeg'),'UserData',scalp_ud)
ve_eegplot('drawp',0);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment