Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bucanl_pipelines
bids_lossless_eeg
Commits
1150e4c3
Commit
1150e4c3
authored
Jul 11, 2018
by
Tyler Collins
Browse files
Update qc.htb
parent
a8bb0306
Changes
1
Hide whitespace changes
Inline
Side-by-side
derivatives/lossless/code/scripts/qc.htb
View file @
1150e4c3
...
...
@@ -2,6 +2,8 @@
EEG = pop_loadset('filename','[batch_dfn]','filepath','[batch_dfp]');
EEG = eeg_checkset(EEG);
eventList = {'boundary','checker-f1','checker-left','checker-right','e-254','e-255','face-inverted','face-inverted-f1','face-upright','face-upright-f1','house-inverted','house-inverted-f1','house-upright','house-upright-f1','press-left','press-right'};
% CHECK FOR IC CLASSIFICATION MARKS
if isempty(find(strcmp('brain',{EEG.marks.comp_info.label})));
%% Use the ICLabel plugin
...
...
@@ -78,12 +80,12 @@ pop_viewprops(EEG,0);
%set(tfh,'Position',[ 1948 -9 1903 1049]);
%PLOT CHAN DATA SCROLL PLOT USING VISED PLUGIN...
EEG_scalp = pop_vised(EEG,'data_type','EEG','pop_gui','off','spacing',80,'command','');
EEG_scalp = pop_vised(EEG,'data_type','EEG','pop_gui','off','spacing',80,'command',''
,'tag','vef_eeg','event_type',eventList
);
sfh = gcf;
%PLOT IC DATA SCROLL PLOT USING VISED PLUGIN...
EEG = pop_vised(EEG,'data_type','ICA','children','
sfh
','pop_gui','off');
EEG = pop_vised(EEG,'data_type','ICA','children','
vef_eeg
','pop_gui','off'
,'tag','vef_comp','event_type',eventList
);
tic;
%WAIT FOR SCROLL PLOT TO CLOSE...
...
...
@@ -104,4 +106,4 @@ try close(sfh),clear sfh, catch clear sfh, end
%SAVE *_qc.SET DATASET FILE...
EEG = pop_saveset( EEG,'filename','[batch_dfn,_,-1]_qc.set','filepath','[batch_dfp]');
%init_bids_sub(EEG,'[batch_dfn,_,-2]','[_,-2,batch_dfn,.,-1]');
%init_bids_sub(EEG,'[batch_dfn,_,-2]','[_,-2,batch_dfn,.,-1]');
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment