Back to the main page.

Bug 2489 - chantype unknown when reading fif file with only a couple of channels

Status NEW
Reported 2014-03-05 12:44:00 +0100
Modified 2014-03-31 13:00:04 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Stephen Whitmarsh
URL:
Tags:
Depends on: 1867
Blocks:
See also:

Stephen Whitmarsh - 2014-03-05 12:44:05 +0100

Hejsan, It seems that when I record only a couple of channels (no MEG channels and two bipolar), chantypes are not found ('unknown'). This then results in ft_read_event not finding 'binaryindx' or 'analogindx' (ft_read_event, line 1214:). I would be happy to fix it, if anyone can give me a clue how to. Otherwise, it is at the moment not possible to specify chanindx when calling ft_read_event another way which would be a workaround. That option is only supported for Yokogama systems. Any suggestions? Best, Stephen


Stephen Whitmarsh - 2014-03-05 12:46:49 +0100

by the way, the default chanindx for events should be the channel called 'STI101' (which is correct in .label).


Jan-Mathijs Schoffelen - 2014-03-06 15:42:23 +0100

Assigned to a named person, to keep this on the radar.


Stephen Whitmarsh - 2014-03-31 13:00:04 +0200

Hi, I just changed my email notifications so I'll actually get updated when I'm assigned or CC'd :-) To return to the issue: is the team ok with adding chanindx as a option for neuromag_fif filetypes in ft_read_event? Or would it be better to try to improve chantype identification? For several reasons I prefer the first option, the main one being that it allows one to choose between the digital and analogue trigger channels. Best, Stephen