Back to the main page.

Bug 2670 - ft_selectdata strips fsampleorig from mvar input data

Status CLOSED FIXED
Reported 2014-08-06 12:03:00 +0200
Modified 2015-01-12 09:20:57 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Eelke Spaak - 2014-08-06 12:03:15 +0200

...and since we now use ft_selectdata for all channel/trial selections, this leads to errors when doing ft_freqanalysis_mvar. The following test scripts are failing due to this: test_tutorial_connectivityextended test_tutorial_connectivity test_tutorial_connectivity20130308 and possibly others.


Eelke Spaak - 2014-08-06 12:06:41 +0200

I added fsampleorig to the 'xtrafield' list (ft_selectdata line 148), however now it still fails on coeffs and dof.


Eelke Spaak - 2014-08-06 12:15:10 +0200

*** Bug 2665 has been marked as a duplicate of this bug. ***


Jan-Mathijs Schoffelen - 2014-08-20 10:27:23 +0200

bash-4.1$ svn commit -m "bugfix - improved handling of mvar data by ft_selectdata" utilities/ft_selectdata.m utilities/private/getdimord.m ft_freqanalysis_mvar.m Sending ft_freqanalysis_mvar.m Sending utilities/ft_selectdata.m Sending utilities/private/getdimord.m Transmitting file data ... Committed revision 9776. test_tutorial_connectivity runs through smoothly now. I did not address the dof issue, but made a conditional check in ft_freqanalysis_mvar. I am not sure whether this field is used downstream in any way.