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

Additional qc helper

parent daf5210c
scalp_ud=get(findobj('Tag','ve_eeg'),'UserData');
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;
set(findobj('Tag','ve_eeg'),'UserData',scalp_ud)
ve_eegplot('drawp',0);
\ No newline at end of file
Supports Markdown
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