Back to the main page.
Bug 840 - resample error
| Status | CLOSED FIXED |
| Reported | 2011-07-21 09:53:00 +0200 |
| Modified | 2012-04-11 16:48:33 +0200 |
| Product: | FieldTrip |
| Component: | preproc |
| Version: | unspecified |
| Hardware: | Macintosh |
| Operating System: | Mac OS |
| Importance: | P1 critical |
| Assigned to: | Robert Oostenveld |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
marcel van gerven - 2011-07-21 09:53:41 +0200
direct call of ft_preproc_resample resamples the columns instead of the rows of the input data. That is, it decimates the channels instead of the samples.
Robert Oostenveld - 2012-04-09 15:16:31 +0200
confimed bug, also detected problem with casting to/from double added test script, resolved bug the ft_preproc_resample function is only used in ft_spikedownsample, where it is in a for loop over channels that are double. So neither of the bugs would have affected FT main function output. mbp> svn commit test/test_bug840.m preproc/ Sending preproc/ft_preproc_resample.m Adding test/test_bug840.m Transmitting file data .. Committed revision 5601.