% EEGLAB history file generated on the 10-Feb-2012
% 
% ------------------------------------------------

EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionA_trial11.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionA_trial11.set');

EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionB_trial11.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionB_trial11.set');

EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionC_trial11.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionC_trial11.set');

EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionD_trial11.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionD_trial11.set');
%tablet
EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionE_tab1.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionE_tab1.set');

EEG = pop_readbdf('/data/projects/yute/SSVEP/subject6/sessionE_tab2.bdf', [1 60] ,272,[]);
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
EEG = eeg_checkset( EEG );
EEG = pop_reref( EEG, 260);
EEG = eeg_checkset( EEG );
EEG = pop_rmbase( EEG, [0      59996.0938]);
EEG = eeg_checkset( EEG );
EEG = pop_select( EEG,'nochannel',{'H25' 'H26' 'H27' 'H28' 'H29' 'H30' 'H31' 'H32' 'EXG8' 'GSR1' 'GSR2' 'Erg1' 'Erg2' 'Resp' 'Plet' 'Temp'});
EEG = eeg_checkset( EEG );
EEG=pop_chanedit(EEG, 'lookup','/data/common/matlab/eeglab/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp','load',{'/data/projects/yute/SSVEP/subject6/337_02102012_56_SSVEP.sfp' 'filetype' 'sfp'},'changefield',{259 'datachan' 0},'changefield',{255 'datachan' 0});
EEG = eeg_checkset( EEG );
EEG = pop_saveset( EEG, 'filename', 'sbj6_sessionE_tab2.set');