<div dir="ltr">Dear Tzvetan,<div><br></div><div>Thanks for your reply. sorry I made a mistake in typing. I meant the function  <span style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;background-color:rgb(240,240,240)">FT_FREQGRANDAVERAGE</span>  (<span style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;background-color:rgb(240,240,240)">time-frequency spectrum</span></div><div><span style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;background-color:rgb(240,240,240)"> over multiple subjects</span>). I want to average the time-<u>frequency</u> spectrum over 11 subjects. For averaging, I want to be sure if the function normalizes the power spectrum for each subject before averaging (to prevent the influence of one subject on the mean value).  </div><div>do you know if the function (ft_<b>freq</b>grandaverage) does this, or is there another function that I need to use for normalizing the time-frequency spectrum for each subject separately?</div><div><br></div><div>Thanks a lot!</div><div>Philip</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 4, 2022 at 5:26 PM Tzvetan Popov <<a href="mailto:tzvetan.popov@uni-konstanz.de">tzvetan.popov@uni-konstanz.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Dear Philip,<div><br></div><div>The average over subjects is done by ft_timelockgrandaverage. Possible configuration option is  cfg.normalizevar   = 'N' or 'N-1' (default = 'N-1’). You might consult the help of this function by typing help ft_timelockgrandaverage into the command window.</div><div>If by ‘normalisation’ you mean some sort of baseline correction, you should apply ft_timelockbaseline for each participant prior to the average over participants. </div><div>Good luck,</div><div>tzvetan</div><div><br></div><div><div><br></div><div><br><blockquote type="cite"><div>On 4 Mar 2022, at 16:44, philip Joadavi via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div><br><div><div dir="ltr">Hi all,<div><br></div><div>I have a short question for ft_grandaverage. I want to get the average of time frequency results over my subjects, and I was wondering if the function ft_grandaverage does do the normalization over <b>subjects</b> when it gets the mean value, or do we need to do the subject normalization separately before calling this function? </div><div><br></div><div>Thanks a lot!</div><div>Philip</div></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><a href="https://doi.org/10.1371/journal.pcbi.1002202" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br></div></blockquote></div><br></div></div></blockquote></div>