Back to the main page.
Bug 3297 - reading triggers from CTF275 data from the new acquisition computer fails
Status | CLOSED FIXED |
Reported | 2017-05-22 09:33:00 +0200 |
Modified | 2019-08-10 12:42:02 +0200 |
Product: | FieldTrip |
Component: | fileio |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P5 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2017-05-22 09:33:31 +0200
Jessica reported that the origSensType for the trigger channel changed from 11 to 20.
Robert Oostenveld - 2017-05-22 09:44:13 +0200
I copied a dataset from the new acquisition computer to /home/common/matlab/fieldtrip/data/test/bug3297/testMEG001_1200hz_20170517_05.ds I see that there is a new file DigTrigChannelInfo.txt which contains -------------------------------- // Virtual channel configuration DigitalChannel { Name: pp1 Ref: UPPT001 mask: 0 pattern: 0 Offset: 0 } DigitalChannel { Name: pp2 Ref: UPPT002 mask: 0 pattern: 0 Offset: 0 } DigitalChannel { Name: gp Ref: UDIO001 mask: 0 pattern: 0 Offset: 0 }
Robert Oostenveld - 2017-05-22 10:05:01 +0200
unique([hdr.orig.res4.senres.sensorTypeIndex]) ans = 0 1 5 9 10 13 14 17 20 28 29 This is for the following channels (one for each type) 'BG1' 'G11' 'MLC12' 'EEG057' 'HADC001' 'HLC0011' 'HDAC001' 'SCLK01' 'UPPT001' 'HLC0018' 'HLC0014'
Robert Oostenveld - 2017-05-22 10:10:32 +0200
mac011> git commit [bug3297-ctftrigger c762305] added 20 as digital trigger, updated documentation (now from pdf), changed teh order a bit 1 file changed, 52 insertions(+), 30 deletions(-) mac011> git commit [bug3297-ctftrigger 9a40fa6] ENH - detect channel type 20 as digitial trigger channel. This solves http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3297, thanks to Jessica for reporting. 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 test/test_bug3297.m I have merged this as https://github.com/fieldtrip/fieldtrip/pull/443
Robert Oostenveld - 2019-08-10 12:35:48 +0200
This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.