Back to the main page.

Bug 1148 - meshes need to conform to a standardized matlab structure

Status CLOSED FIXED
Reported 2011-11-13 14:20:00 +0100
Modified 2012-06-12 13:02:43 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Cristiano Micheli
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2011-11-13 14:20:08 +0100

I noticed the following in ft_read_surface case 'vista' ft_hastoolbox('simbio', 1); [nodes,elements,labels] = read_vista_mesh(filename); shape.nd = nodes; shape.el = elements; shape.labels = labels; shape.unit = unit; The fields labels, el and nd are all unknown to me and inconsistent with other head surfaces. Please clarify. Probably we have to sit down together to further standardize the head surface description.


Robert Oostenveld - 2011-11-13 14:21:36 +0100

(In reply to comment #0) > shape.unit = unit; This line will also result in an error, because unit is not defined. Note that I changed the call into ft_hastoolbox.


Cristiano Micheli - 2011-11-14 16:07:19 +0100

(In reply to comment #1) > (In reply to comment #0) > > shape.unit = unit; > > This line will also result in an error, because unit is not defined. Note that > I changed the call into ft_hastoolbox. according to the number of elements the .hex or .tet field should be created. Change also .nd into .pnt


Cristiano Micheli - 2011-11-14 16:10:27 +0100

(In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > shape.unit = unit; > > > > This line will also result in an error, because unit is not defined. Note that > > I changed the call into ft_hastoolbox. > > according to the number of elements the .hex or .tet field should be created. > Change also .nd into .pnt .label into 'index' or 'value' ? Index is less general