Back to the main page.

Bug 1752 - implement a circular layout for ft_prepare_layout

Status CLOSED FIXED
Reported 2012-09-29 08:24:00 +0200
Modified 2017-01-17 11:30:36 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 minor
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2012-09-29 08:24:57 +0200

Created attachment 331 example from google search This is inspired by the connectivity figures of Ritta Salmelin. See also the attachment. Imagine the mean positions of cortical parcels in 3D source space. Project them in 2D along the z-axis, shift them outward to a unit circle, reposition them along the circle to get uniform distances between them. The result is useful for plotting connections. You can also imagine manually crafted versions with the "outline" feature of the layout used to visually group them together according to lobe (one circle segment per lobe) This can also be done for electrodes (esp. if you don't have too many). For positions in the middle it won't work.


Robert Oostenveld - 2012-10-03 14:50:52 +0200

demonstrate to diego how it works


Robert Oostenveld - 2014-12-22 14:58:54 +0100

I think JM has something like this...


Jan-Mathijs Schoffelen - 2016-12-23 10:27:29 +0100

Created attachment 821 example figure created with FT + AI


Jan-Mathijs Schoffelen - 2016-12-23 10:29:03 +0100

The basic functionality is possible. ft_prepare_layout can create a circular layout (but better would be to create your own), and ft_topoplotCC can be used to draw the arrows (the latter now also allows for curved arrows to be drawn, as per the example figure).


Jan-Mathijs Schoffelen - 2016-12-23 10:29:22 +0100

Oh, and I am changing status of this one for now.


Jan-Mathijs Schoffelen - 2017-01-17 11:30:36 +0100

closed multiple bugs at once