Back to the main page.
Bug 459 - potential error in the use of preprocessing
Status | CLOSED FIXED |
Reported | 2011-01-31 10:02:00 +0100 |
Modified | 2011-02-02 23:43:10 +0100 |
Product: | FieldTrip |
Component: | documentation |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | Robert Oostenveld |
URL: | http://fieldtrip.fcdonders.nl/tutorial/continuous |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2011-01-31 10:02:43 +0100
at the end of the "handling continuous data" tutorial at http://fieldtrip.fcdonders.nl/tutorial/continuous it says % or alternatively use the already rereferenced EEG data and segment it into 1-second pieces data_ref = ft_preprocessing(cfg, data_all); which suggests that ft_preprocessing can segment the data. Actually I don't know whether that is the case. Normally I would have use ft_redefinetrial for this. It should be checked whether this use of the code is correct. Regardless of whether it is correct, I suggest to replace the re-segmenting by ft_redefinetrial ( because it is simpler, does not require a trialfun/definetrial and more consistent with other uses).
Robert Oostenveld - 2011-01-31 10:33:54 +0100
it indeed did not work. I changed it into redefinetrial.