Back to the main page.

Bug 215 - freqanalysis depends on the matlab function window, from the signal processing toolbox

Reported 2010-11-11 23:10:00 +0100
Modified 2010-11-17 15:19:49 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Jan-Mathijs Schoffelen - 2010-11-11 23:10:43 +0100

it also depends on dpss of course. The problem arises when peercellfun is used for multiple jobs involving ft_freqanalysis. License limits are easily exceeded when many jobs are run in parallel. This opens the question whether explicit dependency on the signal processing toolbox can be removed by for example for the hanning taper not relying on the window-function, but provide a private hanning_taper function (similar to sine_taper, and alpha_taper). By the way, sine_taper and alpha_taper should either become externals to the specest module, or move to specest/private (and externals for these functions should be created in fieldtrip/private, as long as the old implementation of freqanalysis exists).

Jan-Mathijs Schoffelen - 2010-11-17 15:19:39 +0100

created the appropriate hanning function, now giving the exact same output is the matlab hanning function. also moved alpha_taper and sine_taper to specest/private, and created the appropriate externals