[Eeglablist] Inquiry into Using Each Epoch as Its Own Baseline for Time-frequency Analysis
u3564255 at connect.hku.hk
u3564255 at connect.hku.hk
Wed May 10 09:35:07 PDT 2023
Dear EEGLABLIST,
A. Baseline Correction with "baseline" and "trialbase"
I would like to ask about the procedure of doing baseline correction for time frequency decomposition.
Let's say that my epochs range start from -1401 ms to 2200 ms, and I want to set the whole epoch as the baseline for each epoch for baseline correction. Should I put in " 'baseline', [-1401 2200], 'trialbase', 'on' " as my code below?
[STUDY, ALLEEG] = std_precomp(STUDY, ALLEEG, {},'savetrials','on','interp','on','recompute','on','erp','on', ...
'erpparams',{'rmbase',[-200 1000] },'spec','on', ...
'specparams',{'specmode','fft','logtrials','off','freqsrange',[1 60] }, ...
'erpim','on','erpimparams',{'nlines',10,'smoothing',10},'ersp','on', ...
'erspparams',{'cycles', [3 0.8], 'nfreqs', 100, 'ntimesout', 200, 'baseline', [-1401 2200], 'trialbase', 'on', 'freqs', [2 100]},'itc','on');
I have read the documentation at the website below, but I am still not sure whether the code is right. Could you please help me on this?
https://urldefense.com/v3/__https://github.com/NBT-Analytics/EEGLABSVN/blob/master/functions/timefreqfunc/newtimef.m__;!!Mih3wA!G4ifHrcwkhz1SBLxEpaRJyOgNOIsg5LID7f4TTi-hMsbZiN0st60AYzmKsdMJu9T6uy5w5IG4BahD5pV-0QkdzdIyOBspA$
B. "on" and "full" for "trialbase"
I am also confused by the differences between "full" and "trialbase". Is it true that if "trialbase" is set to be "full", I need to include "basenorm" has an argument as well?
Thank you so much for your help in advance!
Best regards,
Samuel
More information about the eeglablist
mailing list