Back to the main page.

Bug 2536 - ensure correct double selections in ft_selectdata

Status ASSIGNED
Reported 2014-04-14 20:32:00 +0200
Modified 2015-02-11 10:43:09 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2014-04-14 20:32:54 +0200

For raw data the selection of trials cause data.trial and data.time to be subselected. However, if this is combined with a selection of latencies in each data.time, then the latency selection must be done before the trial selection, otherwise the indexing will fail. A similar problem might occur with spike data and with source data. I think it applies in general to all situations with a {xxx}_yyy diord, where one selection is in xxx and another in yyy.