Back to the main page.
Bug 133 - ft_connectivityanalysis averaging trials bug
| Status | CLOSED FIXED |
| Reported | 2010-08-24 02:33:00 +0200 |
| Modified | 2011-01-06 09:15:20 +0100 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Linux |
| Importance: | P1 enhancement |
| Assigned to: | Jan-Mathijs Schoffelen |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Andre Bastos - 2010-08-24 02:33:12 +0200
When calling ft_connectivityanalysis with fourier data of form rpt_tap_chan_freq, the function crashes on the call to selectdata on line 286. The problem is fixed when the user inputs a manually averaged cross-spectral density of the form chan_chan_freq. The full dbstack is: Error in ==> avgoverdim at 47 if numel(fntmp)==1 && strcmp(fntmp{1}, 'dimord'), Error in ==> selectdata at 485 if avgoverrpt, data = avgoverdim(data, 'rpt', fb); end Error in ==> ft_connectivityanalysis at 286 data = selectdata(data, 'avgoverrpt', 'yes'); Error in ==> compute_lag_allareas at 45 coh{1} = ft_connectivityanalysis(cfg,freqAtt{1});