Back to the main page.

Bug 2449 - ft_read_sens produces NaN labels for easycap files

Status CLOSED FIXED
Reported 2014-01-22 16:46:00 +0100
Modified 2015-07-15 13:30:49 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Jim Herring
URL:
Tags:
Depends on:
Blocks:
See also:

Jim Herring - 2014-01-22 16:46:41 +0100

ft_read_sens tries to convert the channel labels in easycap files to double. This is most likely a copy-and-pasting error. I will fix it immediately. Line 350:352 sens.label = cellfun(@str2double, tmp{1}(2:end)); theta = cellfun(@str2double, tmp{2}(2:end)); phi = cellfun(@str2double, tmp{3}(2:end));


Jim Herring - 2014-01-22 16:51:24 +0100

Sending ft_read_sens.m Transmitting file data . Committed revision 9123.