Back to the main page.

Bug 1470 - ft_megplanar outputs NaNs when using input data containing backprojected components.

Status CLOSED FIXED
Reported 2012-05-10 19:38:00 +0200
Modified 2012-08-23 10:48:33 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2012-05-10 19:38:30 +0200

chanpos in the grad description is all nan. This is known. Yet, when using a template neighbourhood structure, there is no reason for it not to work. Investigate the dependency of the function on the data.grad.chanpos field, and remove this if it is not necessary.


Jan-Mathijs Schoffelen - 2012-05-20 12:17:00 +0200

Well, a solution to make it more robust would be to supply the neighbour-template with a set of channel positions. For MEG systems at least the relative position of (and distances between) the coils is fixed


Jan-Mathijs Schoffelen - 2012-05-21 10:01:45 +0200

added check on chanpos being NaN. Throw instructive error if this is the case.


Jan-Mathijs Schoffelen - 2012-07-17 12:11:29 +0200

error statement has been added