% EEGLAB history file generated on the 13-Feb-2012
% ------------------------------------------------
EEG = pop_loadset('filename','sbj1_sessitonA1.set','filepath','/data/projects/yute/SSVEP/');
[ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 0 );
EEG = pop_loadset('filename','sbj1_sessitonA2.set','filepath','/data/projects/yute/SSVEP/');
[ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 0 );
EEG = eeg_checkset( EEG );
STUDY = []; CURRENTSTUDY = 0; ALLEEG = []; EEG=[]; CURRENTSET=[];
EEG = pop_readbdf('/data/projects/yute/SSVEP/sessionA_trial1.bdf', [1 30] ,265,[]);
[ALLEEG EEG CURRENTSET] = pop_newset(ALLEEG, EEG, 0,'gui','off'); 
EEG = eeg_checkset( EEG );
EEG = pop_resample( EEG, 256);
[ALLEEG EEG CURRENTSET] = pop_newset(ALLEEG, EEG, 1,'gui','off'); 
EEG = eeg_checkset( EEG );
EEG = pop_epoch( EEG, {  '1'  }, [-1  2], 'newname', 'BDF file resampled epochs', 'epochinfo', 'yes');
EEG = eeg_checkset( EEG );
pop_saveh( ALLCOM, 'eeglabhist_test.m', '/data/projects/yute/SSVEP/');
EEG=pop_chanedit(EEG, 'load',{'/data/projects/yute/SSVEP/SSVEP_elec_location/09202111_yute_56_2_bci.sfp' 'filetype' 'sfp'});
[ALLEEG EEG] = eeg_store(ALLEEG, EEG, CURRENTSET);
eeglab redraw;
