enhancement - small restructuring of the code to improve the ease of debugging


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9733 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
restructuring - use call to topoplot_common rather than ft_topoplotTFR


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9734 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bug2625 - update rollback_provenance as in ft_freqanalysis

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9735 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
restructuring - use topoplot_common consistently in all ft_topoplotXX functions, pre and postamble should be done in the high level function. Speed up ft_topoplotIC.m by calling ft_prepare_layout.m only once (not any more in topoplot_common)


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9736 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
small bugfixes - fixed search-and-replace error for ft_getopt (diego 9735) in timelockanalysis, fixed prepare_layout error in ft_topoplotER that is due to me changing something a few hours back, small update in cfg history parsing in ft_analysispipeline


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9737 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - allow filtering of single precision data. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2653


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9738 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix(2657): ft_prepare_layout is now properly called again from ft_topoplotTFR


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9739 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - resolved problem with the updating of the mask when clicking around in an interactive ortho sourceplot. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2654


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9740 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
bugfix - make sure mex files are copied to all places where they are needed. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2658


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9741 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - some recent changes in the call structure to ft_prepare_layout caused test_bug1871 to fail as of a few revisions ago. Investigating this in detail, it turned out that it uses cfg.channel=MEGGRAD on a combined planar neurmag306 dataset. For that combined planar data, the behaviour of the channelselection if not defined, as it depends on detecting the type of sensor array (which cannot be reliably detected here). I removed the specific channelselection, the test script runs fine now.


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9742 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - use the same placement strategy for COMNT and SCALE


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9743 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - updated some test scripts that were using cfg.coordsys, which is not supported any more. It now should be specified in the input data, or determined interactively by ft_checkdata->ft_determine_coordsys.


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9744 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - I noticed that cfg.debug=saveonerror was not working any more, turned out to be due to the "assign" anonymous function in ft_preamble_loadvar which could not be saved for debugging. See also http://bugzilla.fcdonders.nl/show_bug.cgi?id=1686


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9745 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - some cleanups to the local workspace in relation to saving it to a mat file upon error, all temporary variables in the ft_preamble_xxx and ft_postamble_xxx scripts shoudl be cleared after use. 


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@9746 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - improved the config object, allowing for more susbref and subsasgn cases. See also http://bugzilla.fcdonders.nl/show_bug.cgi?id=1762 and http://bugzilla.fcdonders.nl/show_bug.cgi?id=1614


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