<div dir="ltr"><div>Dear Fieldtrip team, </div><div><br></div><div>I am currently working on data acquired from an elektra system (neuromag). I have done all the preprocessing and the ft_freqanalysis with the gradiometers only. I combined the gradiometers to create planar gradients.However , later when doing the statistics problems occur when i want to specify the channels. The error tells me that no degrees of freedom are found for the analysis. However, when i remove the cfg.channel form the script it runs through without an error. (please see code below). </div><div>My question is whether the output of the stastistic is correct without specifying the channels? If not, does anybody have suggestions how to fix the problem?</div><div><br></div><div>I have run into similar problems when wanting to plot the time frequency data from the planar gradients after having used ft_combineplanar. Here i cannot find a layout file that suits the output of ft_combineplanar. Thus, i cannot specify a cfg.layout. After ft_combineplanar i have 102 channels, however, the layouts provided by fieldtrip does not fit that number.</div><div>Has anybody run into similar problems? Or does anybody know a possible solution? <br></div><div><br></div><div>Thank you very much for any suggestions</div><div>Victoria</div><div><br></div><div><div>%combine planar</div><div>cfg = [];</div><div>cfg.method ='sum';</div><div>%ComCon = ft_combineplanar(cfg,FreqCon);</div><div>ComIncon = ft_combineplanar(cfg, FreqIncon);</div></div><div><br></div><div>cfg = [];</div><div>%cfg.channel          = {'MEG'};</div><div>cfg.latency          = 'all';</div><div>cfg.frequency        = [14.5 16];</div><div>cfg.method           = 'montecarlo';</div><div>cfg.statistic        = 'ft_statfun_indepsamplesT';</div><div>cfg.correctm         = 'cluster';</div><div>cfg.clusteralpha     = 0.05;</div><div>cfg.clusterstatistic = 'maxsum';</div><div>cfg.minnbchan        = 2;</div><div>cfg.tail             = 0;</div><div>cfg.clustertail      = 0;</div><div>cfg.alpha            = 0.025;</div><div>cfg.numrandomization = 500;</div><div>cfg_neighb.method    = 'distance';</div><div>cfg.neighbours       = ft_prepare_neighbours(cfg_neighb, data_orig);</div><div><br></div><div>design = zeros(1,size(ComGrad_con.powspctrm,1) + size(ComGrad_incon.powspctrm,1));</div><div>design(1,1:size(ComGrad_con.powspctrm,1)) = 1;</div><div>design(1,(size(ComGrad_con.powspctrm,1)+1):(size(ComGrad_con.powspctrm,1)+...</div><div>  size(ComGrad_incon.powspctrm,1))) = 2;</div></div>