Back to the main page.

Bug 950 - ft_megrealign does not properly take balancing into account

Reported 2011-09-12 11:35:00 +0200
Modified 2011-12-07 16:00:25 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 critical
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Jan-Mathijs Schoffelen - 2011-09-12 11:35:50 +0200

at some point the gradiometer structure and the volume conductor model are processed by prepare_headmodel (which is a wrapper around ft_prepare_vol_sens), where only the MEG sensor coils are kept. Apart from this being not entirely correct (e.g. 3d order gradient balancing) it causes a crash when later on in the function some plotting is done (due to a crash in channelposition)

Jan-Mathijs Schoffelen - 2011-11-15 10:08:29 +0100

ft_megrealign calls deprecated ft_headmodelplot -> this is now changed. the issue with the channelposition bug seems not to exist anymore. going through the code with respect to the balancing issue, it seems to me that the function deals with it in a correct way. created testscript in revision 4740