Back to the main page.

Bug 2145 - explain options surfplot

Reported 2013-04-26 23:22:00 +0200
Modified 2019-08-10 12:36:47 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 enhancement
Assigned to: Ingrid Nieuwenhuis
Depends on:
See also:

Ingrid Nieuwenhuis - 2013-04-26 23:22:22 +0200

ft_sourceplot method surface has these cool options. But documentation is not very clear. Would be great if could be made clearer in help and or on wiki % cfg.surffile = string, file that contains the surface (default = 'single_subj_T1.mat') % 'single_subj_T1.mat' contains a triangulation that corresponds with the % SPM anatomical template in MNI coordinates % cfg.surfinflated = string, file that contains the inflated surface (default = []) % cfg.surfdownsample = number (default = 1, i.e. no downsampling) % cfg.projmethod = projection method, how functional volume data is projected onto surface % 'nearest', 'project', 'sphere_avg', 'sphere_weighteddistance' % cfg.projvec = vector (in mm) to allow different projections that % are combined with the method specified in cfg.projcomb % cfg.projcomb = 'mean', 'max', method to combine the different projections % cfg.projweight = vector of weights for the different projections (default = 1) % cfg.projthresh = implements thresholding on the surface level % (cfg.projthresh = 0.7 means 70% of maximum) % cfg.sphereradius = maximum distance from each voxel to the surface to be % included in the sphere projection methods, expressed in mm % cfg.distmat = precomputed distance matrix (default = []) % cfg.camlight = 'yes' or 'no' (default = 'yes') % cfg.renderer = 'painters', 'zbuffer',' opengl' or 'none' (default = 'opengl') % note that when using opacity the OpenGL renderer is required.

Jan-Mathijs Schoffelen - 2013-05-06 19:40:24 +0200

Most of this part of the code has been contributed by Markus Siegel (surffile etc) and Joachim Gross (projection stuff). I think that if you read through the code you can figure out most of it. This will probably be most efficient in boosting the quality of the documentation. Could you give it a try yourself. Do you still have svn-rights?

Ingrid Nieuwenhuis - 2013-05-06 20:02:26 +0200

HI JM, yes I still have SVN rights, but am transitioning jobs so have no time my self for this. I just noticed it when I used it that documentation could be improved, so I thought I'll file it :) Cheers, Ingrid

Jan-Mathijs Schoffelen - 2013-05-06 20:04:52 +0200

yes, everybody is busy...

Ingrid Nieuwenhuis - 2018-01-08 22:24:10 +0100

closing really old

Robert Oostenveld - 2019-08-10 12:36:47 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on