Back to the main page.

Bug 1166 - add option headshape and hdmfile to all fwd routines

Reported 2011-11-17 23:57:00 +0100
Modified 2012-06-12 13:01:18 +0200
Product: FieldTrip
Component: forward
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Cristiano Micheli
Depends on:
See also:

Cristiano Micheli - 2011-11-17 23:57:56 +0100

cfg.headshape is missing from the major spheres and bem routines and hdmfile too from concentricspheres (for example). Add a simple routine that does the file handling automatically in all of them

Cristiano Micheli - 2011-11-18 00:02:59 +0100

(In reply to comment #0) since hdmfile and headshape are already managed in ft_prepare_headmodel I'd say rather to get rid of all of them in the low level routines: - ft_headmodel_dipoli - ft_heamodel_concentricspheres - ft_heamodel_bemcp - ft_headmoel_openmeeg

Cristiano Micheli - 2011-11-18 00:14:55 +0100

(In reply to comment #1) modify also ft_prepare_headmodel so tghat it manages consistently hdnfile and headshape fields

Cristiano Micheli - 2012-03-07 12:49:56 +0100

(In reply to comment #2) Fixed the low level routines that dealt with cfg.hdmfile (taken out of ft_prepare_bem_bemcp, ft_prepare_headmodel_bem_dipoli, ...) and added test file FT/test/test_bug1166.m Restructured ft_prepare_headmodel with the handy ft_fetch_headshape function. It seems to work well! C