Back to the main page.

Bug 2497 - implement test scripts for fieldtrip/external/stats and fieldtrip/external/signal drop-in replacement functions

Status NEW
Reported 2014-03-12 09:52:00 +0100
Modified 2014-03-13 10:01:08 +0100
Product: FieldTrip
Component: external
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to:
Depends on:
See also:

Robert Oostenveld - 2014-03-12 09:52:26 +0100

The documentation on[]=drop#replacements_for_functions_from_mathworks_toolboxes mentions the drop-in replacement functions. However, in bug #2400 it was detected that one of the functions was not a proper replacement, as the function behaved differently. I suggest to implement a test_external_stats.m and a test_external_signal.m function that test all functions in the respective directories, ensuring that they behave consistent with their Mathworks counterparts.

Eelke Spaak - 2014-03-13 10:01:08 +0100

Another one: external/stats/binopdf does not accept a vector (rather than scalar) of p-values (third input argument), whereas the MathWorks stats toolbox does.