<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ahh perfect Tzvetan. Thanks alot for the quick reply. This function is good to transform the time series data. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Mubeen</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Tzvetan Popov <tzvetan.popov@uni-konstanz.de><br>
<b>Sent:</b> Sunday, March 28, 2021 10:48 AM<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Subject:</b> Re: [FieldTrip] baseline normalizing</font>
<div> </div>
</div>
<div dir="auto">
<div dir="ltr">Dear Mubeen,</div>
<div dir="ltr">The function you intend to use requires time dimension. What you provide is only power spectrum. </div>
<div dir="ltr">You could use <a href="https://www.fieldtriptoolbox.org/reference/ft_preproc_standardize/">https://www.fieldtriptoolbox.org/reference/ft_preproc_standardize/</a> prior to your freqanalysis if standardized z-scores is what you need. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Good luck,</div>
<div dir="ltr">Tzvetan</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Am 3/28/21 um 07:16 schrieb mubeen afzal <mubafzal@hotmail.com>:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<pre style="">Hi all,</pre>
<pre style=""><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">In brainstorm there is option of baseline normalizing (zscore or db or other methods) the timeseries epochs/trials of interest before frequency analysis allowing visual comparisons and further frequency analysis of the normalized epochs</span><br></pre>
<pre style="">The normalization function function [freq] = ft_freqbaseline(cfg, freq) doesnt allow normalizing a freq output dimord structure with chan_freq derived using 'mtmfft' method</pre>
<pre style=""></pre>
I get this error message - </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i><br>
</i></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i>"the call to "ft_freqanalysis" took 1 seconds</i>
<div><i>the input is freq data with 21 channels, 191 frequencybins and no timebins</i></div>
<div><i>Error using ft_freqbaseline (line 146)</i></div>
<i>unsupported data dimensions: chan_freq"</i></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Is there a way around this?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks all.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Mubeen</div>
<span>_______________________________________________</span><br>
<span>fieldtrip mailing list</span><br>
<span>https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</span><br>
<span>https://doi.org/10.1371/journal.pcbi.1002202</span><br>
</div>
</blockquote>
</div>
</div>
</body>
</html>