Hi,
I am succesfully importing (averaged) epochs from matlab (.mat files), except that I am unable to set their time interval (should be from -0.1 to 0.2 s) nor their baseline interval (-0.1 to 0 s); sampling rate is 512Hz. My script is:
sFiles = bst_process('CallProcess', 'process_import_data_epoch', sFiles, , ...
'subjectname', SubjectNames{suj}, ...
'condition', 'AraFix', ...
'datafile', {{RawFiles{suj}}, 'EEG-MAT'}, ...
'iepochs', , ...
'eventtypes', '', ...
'createcond', 0, ...
'channelalign', 1, ...
'usectfcomp', 1, ...
'usessp', 1, ...
freq', , ...
'baseline', );
Probably the two bottom lines are the key, but I have tried several inputs, such as
'freq', 512, ...
'baseline', [-0.1, 0]);
and in all cases epochs look like this (no baseline, temporal scale as if sampling rate was 1000Hz):
Thanks in advance for any clue to solve this.
Luis