Back to the main page.
Bug 660 - Undefined function or variable 'dataindx' in ft_megplanar using planarmethod = sourceproject
Status | CLOSED FIXED |
Reported | 2011-05-12 15:27:00 +0200 |
Modified | 2011-05-25 15:07:37 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | All |
Operating System: | All |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Andreas Wollbrink - 2011-05-12 15:27:46 +0200
Applying the function ft_megplanar with the following setting cfg.planarmethod = 'sourceproject'; the error message ??? Undefined function or variable 'dataindx'. Error in ==> ft_megplanar at 234 interp.trial{i} = transform * data.trial{i}(dataindx,:); appears. Looking into the source code I realized that the variable 'dataindx' seems to be not defined.
Jan-Mathijs Schoffelen - 2011-05-20 10:19:43 +0200
Hi Andreas, Thanks for reporting it. We'll look into it. I have not worked with the sourceproject option for a long time, but in principle it should work of course.