Back to the main page.

Bug 1978 - implement plotting for localspheres headmodels

Reported 2013-02-07 10:27:00 +0100
Modified 2014-06-18 12:34:58 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
Blocks: 1003
See also:

Lilla Magyari - 2013-02-07 10:27:38 +0100

Created attachment 422 localspheres plotted with ft_plot_vol At the moment ft_plot_vol plots all local-spheres when the input is a local-spheres head-model. We discussed this with Jan-Mathijs, and he told me to file this bug, because it would make more sense to plot a surface which consist of the points which are between a channel and the origin of its corresponding sphere in the distance of the sphere's radius. You can see in the attachment how the plotting looks right now. Lilla

Robert Oostenveld - 2013-02-07 11:26:15 +0100

We used to have a better visualization of this in the past. Problematic is that the localspheres vol does (at this moment) not contain head surface points, and ft_plot_vol does not know about the grad structure to make the head surface points. The information now present inside ft_plot_vol therefore limits the plot to this. So to improve this, we have to add more information to that function or the vol structure.

Jan-Mathijs Schoffelen - 2013-02-07 13:02:43 +0100

true. did not think of that. would it make sense to consider an orientation vector for each sphere, denoting the direction (from the corresponding origin) to the sensor?

Robert Oostenveld - 2013-02-07 13:12:18 +0100

(In reply to comment #2) or just one surface point per sphere close to the sensor (which is almost the same)

Diego Lozano Soldevilla - 2013-02-13 13:52:59 +0100

rumour has it JM knows the solution

Jan-Mathijs Schoffelen - 2013-02-23 20:58:45 +0100

what about returning the triangulated 'surface', i.e. the surface points along with the tri?

Jan-Mathijs Schoffelen - 2014-05-26 16:14:05 +0200 I created the above faq for people who want to plot a localspheres headmodel. Closing this bug for now.