Back to the main page.
Bug 3264 - ft_math does not work on raw data structures
| Status | CLOSED FIXED |
| Reported | 2017-03-07 12:21:00 +0100 |
| Modified | 2019-08-10 12:41:39 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Linux |
| Importance: | P5 normal |
| Assigned to: | |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Mats van Es - 2017-03-07 12:21:14 +0100
1. When ft_math operates on trials in a raw data structure, basic functionality does not work: Index exceeds matrix dimensions. Error in ft_math (line 453) tmp = varargin{i}.(keepfield{j}); When looping over 'keepfield' structures (line 451 onwards), the index 'i' now refers to trial index. This probably should be replaced by '1'. 2. Furthermore, ft_math gives 'dimord' as output field, which should not be present. I used latest fieldtrip version (FieldTrip, revision e22b74c)
Mats van Es - 2017-03-14 11:26:08 +0100
ft_math now works for single raw data structures; output does not contain dimord field.
Robert Oostenveld - 2019-08-10 12:35:26 +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.