Back to the main page.

Bug 3108 - Field Trip 20160415 dpss function impairment

Status CLOSED WORKSFORME
Reported 2016-04-18 19:40:00 +0200
Modified 2019-08-10 12:32:33 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 critical
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Heath Robinson - 2016-04-18 19:40:42 +0200

While using Chronux toolbox for power and coherency, I had issues with tapers, specifically with Dpss and its check function. I spent many hours looking through code to make sure everything was correct. I then searched the internet and found out that Fieldtrip users were having similar problems. I then deleted the fieldtrip toolbox from my path and the taper dpss was resolved. I hope that this can be resolved in order to continue using field trip, but this seems like a serious issue.


Jan-Mathijs Schoffelen - 2016-04-18 20:03:40 +0200

This is probably only a problem if you use the non-recommended way of adding the fieldtrip path to the matlab-path (i.e. by using something like 'add with subfolders' or addpath(genpath('...')) ). I suspect that the problem you refer to is that MATLAB defaults to the overloaded functionality of the dpss-related functions, which we provide as a courtesy to the users that don't have the signal-processing toolbox available. These set of functions should not be found, if the path is specified in the recommended way (i.e. only adding 'fieldtrip' to the path (without subfolders), and then issuing the ft_defaults command, which ensures that all minimally needed subfolders are added).


Robert Oostenveld - 2016-04-19 08:51:39 +0200

see http://www.fieldtriptoolbox.org/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path


Robert Oostenveld - 2019-08-10 12:32:33 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.