Back to the main page.

Bug 3164 - ft_combineplanar returns wrong channel labels (with neuromag data)

Status CLOSED FIXED
Reported 2016-07-20 16:51:00 +0200
Modified 2017-01-17 11:30:37 +0100
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Stephen Whitmarsh - 2016-07-20 16:51:53 +0200

Hi, At least with Neuromag data, ft_combineplanar does not return the combined labels (MEG0112+MEG0113), but instead the corresponding magnetometer labels (MEG0111). Attached is data to reproduce bug. It has only been present for over a week or so. Cheers, Stephen


Stephen Whitmarsh - 2016-07-20 16:52:51 +0200

Created attachment 801 neuromag trial datastruct


Stephen Whitmarsh - 2016-07-20 17:09:30 +0200

Okay, the following 3 should be replaced with a 4 on line 130 in ft_combineplanar: lab_comb = planar(sel_planar,3); That solves it. Best, Stephen


Stephen Whitmarsh - 2016-07-21 14:16:44 +0200

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


Jan-Mathijs Schoffelen - 2016-11-29 09:23:46 +0100

Seems to work fine for me on latest FT version (i.e. ~20161128) and MATLAB2015b on my Mac. Closing for now.


Jan-Mathijs Schoffelen - 2017-01-17 11:30:37 +0100

closed multiple bugs at once