Back to the main page.

Bug 1679 - small bug in ft_prepare_headmodel

Reported 2012-08-28 21:06:00 +0200
Modified 2018-03-10 22:00:31 +0100
Product: FieldTrip
Component: forward
Version: unspecified
Hardware: PC
Operating System: All
Importance: P3 minor
Assigned to: Lilla Magyari
Depends on:
See also:

Luke - 2012-08-28 21:06:44 +0200

line 202 of ft_prepare_headmodel allows the use of singleshell and singlesphere without the cfg.tissue being specified. It seems like localspheres should also be included in this list. If there is a reason that localspheres should require this parameter, the documentation should be changed to reflect that.

Robert Oostenveld - 2012-08-30 10:13:08 +0200

Thanks for reporting, we'll look into it.

Lilla Magyari - 2013-01-23 16:48:23 +0100

Hi, The ft_prepare_headmodel has gone through a re-organization recently. And I have just checked in the code, and localsphere is supposed to work now in the same way as singleshell and singlesphere. But all these methods will work without tissue being specified if the fields representing the tissues are named 'brain','skin','scalp','csf'.... (according to the output of ft_volumesegment). I close this bug, but I would be happy to know if you think the bug has been not solved.

Lilla Magyari - 2013-01-23 16:48:47 +0100