Back to the main page.
Bug 2483 - ft_selectdata_new: avgovertime = 'yes' removes time field and changes dimord
| Status | CLOSED FIXED |
| Reported | 2014-02-26 14:17:00 +0100 |
| Modified | 2014-05-14 20:08:56 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P5 normal |
| Assigned to: | Robert Oostenveld |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Jan-Mathijs Schoffelen - 2014-02-26 14:17:13 +0100
this is unwanted
Robert Oostenveld - 2014-04-10 17:23:18 +0200
The problem seems to have been resolved with recent changes to the code: timelock1 = []; timelock1.label = {'1' '2'}; timelock1.time = 1:5; timelock1.dimord = 'chan_time'; timelock1.avg = randn(2,5); cfg = [] cfg.avgovertime = 'yes'; ft_selectdata_new(cfg, timelock1) ans = label: {2x1 cell} time: 3 dimord: 'chan_time' avg: [2x1 double] cfg: [1x1 struct]