<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:13px"><div id="yui_3_16_0_1_1470623384215_15390"></div><div id="yui_3_16_0_1_1470623384215_15433" dir="ltr">Hi,i
am using the toolbox fieldtrip to calculate ERD / ERS in different
groups. However, i do not know if I should use a relative or absolute
power density in function cfg.baselinetype.</div><div id="yui_3_16_0_1_1470623384215_15434" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15435"></div><div id="yui_3_16_0_1_1470623384215_15436" dir="ltr">I am using the following script,<br id="yui_3_16_0_1_1470623384215_15437"></div><div id="yui_3_16_0_1_1470623384215_15438">cfg = [ ];</div><div id="yui_3_16_0_1_1470623384215_15439">cfg.method = 'wavelet';</div><div id="yui_3_16_0_1_1470623384215_15440">cfg.width = 7</div><div id="yui_3_16_0_1_1470623384215_15441">cfg.output = 'pow'</div><div id="yui_3_16_0_1_1470623384215_15442">cfg.foi =4:0.2:30;</div><div id="yui_3_16_0_1_1470623384215_15443">cfg.toi = -.68:0.01:1.5;</div><div id="yui_3_16_0_1_1470623384215_15444">cfg.keeptrials ='no';</div><div id="yui_3_16_0_1_1470623384215_15445">cfg.baseline =[-0.4 -0.1];</div><div id="yui_3_16_0_1_1470623384215_15446" dir="ltr">cfg.baselinetype =<font id="yui_3_16_0_1_1470623384215_15447" style="background-color:rgb(253, 239, 43);" color="#fdef2b">'</font><font id="yui_3_16_0_1_1470623384215_15448" style="background-color:rgb(253, 239, 43);">relative</font><font id="yui_3_16_0_1_1470623384215_15449" style="background-color:rgb(253, 239, 43);" color="#fdef2b">'</font>; (<b id="yui_3_16_0_1_1470623384215_15450">I do not know if I should use a relative or absolute.)</b></div><div id="yui_3_16_0_1_1470623384215_15451">TFRtot = ft_freqanalysis(cfg, date)</div><div id="yui_3_16_0_1_1470623384215_15452" dir="ltr">TFRtotal = ft_freqbaseline(cfg, TFRtot);</div><div id="yui_3_16_0_1_1470623384215_15453" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15454"></div><div id="yui_3_16_0_1_1470623384215_15455" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15456"></div><div id="yui_3_16_0_1_1470623384215_15457" dir="ltr">Can anyone help me with this problem please?</div><div id="yui_3_16_0_1_1470623384215_15458" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15459"></div><div id="yui_3_16_0_1_1470623384215_15460" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15461"></div><div id="yui_3_16_0_1_1470623384215_15462" dir="ltr"><br id="yui_3_16_0_1_1470623384215_15463"></div><div id="yui_3_16_0_1_1470623384215_15464" dir="ltr"><div id="yui_3_16_0_1_1470623384215_15465" dir="ltr">Federal University of Bahia, Brazil</div><div id="yui_3_16_0_1_1470623384215_15466" dir="ltr"><div id="yui_3_16_0_1_1470623384215_15527" dir="ltr">Program in Medicine and Health <br></div></div></div><div id="yui_3_16_0_1_1470623384215_15388" class="signature"><font color="#003333" size="2">Att</font><font id="yui_3_16_0_1_1470623384215_15558" size="2">. Tiago Lopes</font></div></div></body></html>