Back to the main page.
Bug 3387 - ft_fetch_sens does not fetch the tra field
Status | CLOSED FIXED |
Reported | 2017-12-09 21:41:00 +0100 |
Modified | 2019-04-01 08:57:23 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P5 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | 3386 |
See also: |
Arjen Stolk - 2017-12-09 21:41:01 +0100
cd fieldtrip/private cfg.elec.label = {'1'}; cfg.elec.elecpos = [1 1 1]; cfg.elec.tra = 1; elec = ft_fetch_sens(cfg); elec = struct with fields: chanpos: [1 1 1] chantype: {'eeg'} chanunit: {'V'} elecpos: [1 1 1] label: {'1'} unit: 'm' > Thus, without the .tra field. Is this desired behavior?
Jan-Mathijs Schoffelen - 2018-01-05 12:09:06 +0100
perhaps it should try to fetch it. Earlier, elec-structures never had a tra-field. We have been thinking about allowing this more generically, in order to accommodate fancy rereferencing schemes, and to make stuff more similar to grad-structures.