enhancement - ensure consistent handling of trial and channelselection, added cfg.keeptrials option that behaves just like cfg.keepchannels, moved the selection of trials (using ft_selectdata) to after the GUI part. The three methods now behave consistently and the prior selection with cfg.trials/cfg.channel is identical to the GUI selection. In either summary/channel/trial method, the data that is visualised is numbered consistently with the input data, i.e. initially deselected trials are visible as nan and can be re-enabled.


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