enhancement - add trialinfo field if the trl-matrix in the input has more than 3 columns, but only if there is no trialinfo in the data yet


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6235 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
fixed pathing issue in the two tutorial scripts


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6236 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement-#1562-in case of SSI, a spherical fit to the coordinates is performed. User is warned if the residual is too high

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6237 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bug 1431: update to nearest.m to allow for [minval maxval] input for 'val' and some intelligence built in for values within this range and +/- eps of this range. Also appropriate update to test_nearest.m


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6238 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
changed comparison with intervaltol to <= or >= rather than < or >


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6239 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bug 1431: selection over time now uses interval option of nearest(array,[minval maxval])


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6240 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
documentation - added ft_prepare_headmodel to "see also" section


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6241 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - added support for Raspberry Pi, changed some makefiles and compiled some of the realtime EEG/BCI applications for it


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6242 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - deleted the compiled biosemi realtime app, since liblabview_dll.so does not exist for the raspberry pi


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6243 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - updated some inconsistencies in the code causing a crash with freq-data. Thanks to Matt Mollison


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6244 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - allow to estimate the units from a structure with fiducials (nas/lpa/rpa)


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6245 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
automatically synchronized identical files to revision 6245

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6246 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
documentation - extended the help, list the coordinate systems


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6247 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - also apply transformation to nas, lpa, rpa, zpoint


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6248 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - disabled the redefinition of a trial from more than one input trial, also addressing bug 1097 in the process


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6249 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - added code for making the intersection between a plane and a triangulated mesh, this is to be used in ft_plot_slice or perhaps inside ft_plot_mesh to plot a mesh together with an MRI


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6250 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - added intersectplane option to ft_plot_slice, can be used to intersect the slice with a triangulated mesh


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6251 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - ensure that the 3D axes in sliceplot are properly scaled and don't have a length of ~0 along the view direction


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6252 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - also do axis vis3d to make the slice fit tight in the axes


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6253 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - ensure the input mri to have mm-units prior to spatial normalization


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@6254 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0