Back to the main page.
Bug 1531 - triang didn't work for mtmconvol because of extra [] input argument
Status | CLOSED FIXED |
Reported | 2012-06-13 20:44:00 +0200 |
Modified | 2013-01-17 10:42:12 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Linux |
Importance: | P3 normal |
Assigned to: | Roemer van der Meij |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Yuval - 2012-06-13 20:44:43 +0200
I tried to use triang wavelet using mtmconvol for freqanalysis on MEG data. in the following lines tapopt is [], and was not received well by window function. otherwise % create a single taper according to the window specification as a replacement for the DPSS (Slepian) sequence tap = window(taper, timwinsample(ifreqoi),tapopt)';
Jan-Mathijs Schoffelen - 2012-06-23 22:27:19 +0200
Hi Yuval, Thanks for reporting this. Indeed, window(@triang, 500, []) fails. I wonder in which case the function call would actually work... @Roemer: could you have a look at this, and fix it? In generall, if the documentation suggests support for windowing functions (which themselves are supported by the window function) it should be supported. Could you also fix this for specest_mtmfft and anywhere it is needed?
Roemer van der Meij - 2012-06-24 03:15:48 +0200
Ill get right on it when I get back from China in a week or so, and I'll also do a grep for any other calls to window.
Roemer van der Meij - 2012-07-04 14:22:56 +0200
Bug should be fixed now, and triang can be used again. Thanks again for reporting, Roemer