change empty epoch creation for eyelink import; scale according to sampling rate
adapt parameters for hprf and psrf in manual and code from published papers
ensure marker_chan has same dimension as data_fn
remove join from import eyelink to support older matlab versions
fix parameters for response function according to manual and paper
reformat code for glm
Hi Giulia to me it seems that the events have timings which relate to the original data file and sould be corrected to agree with the trimming. According to tscr_S01_EXP_GSR.mat the trimpoints (in 'infos.trimpoints') are [401.9960 1.5330+e03]. Therefore you could correct your timings for the dcm like this: timingfile = load('S01_all_onsets.mat') datafile = load('tscr_S01_EXP_GSR.mat') timingfile.events{1} = timingfile.events{1} - datafile.infos.trimpoints(1) timingfile.events{2} = timingfile.events{2}...
change to older lyx version