Back to the main page.
Bug 3124 - ft_sourceanalysis does not select multiple frequencies with cfg.foilim
Status | CLOSED WORKSFORME |
Reported | 2016-05-10 10:36:00 +0200 |
Modified | 2016-06-14 16:18:23 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2016-05-10 10:36:11 +0200
the output source.freq is only the lower bound of the frequency range, suggesting that not the whole range was selected.
Robert Oostenveld - 2016-05-17 15:18:09 +0200
I wrote a test script, which works fine. So averaging over a frequency range is available. I suspect the error was due to not exactly specifying it correctly. It should be cfg.foilim = [lo hi] See https://github.com/fieldtrip/fieldtrip/blob/master/test/test_bug3124.m