Back to the main page.
Bug 3305 - ft_channelselection, wrong selection when channel names are mixed with wildcards
Status | CLOSED INVALID |
Reported | 2017-06-09 14:20:00 +0200 |
Modified | 2018-03-02 15:04:36 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P5 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Luis Morís Fernández - 2017-06-09 14:20:27 +0200
Example 1: ft_channelselection({'eeg', '-P5', '-AF*'}, {'AF3', 'AF4', 'P5', 'CP5', 'Oz'}) ans = 'Oz' When the expected output would be, {'CP5', 'Oz'} ---------------------------------------------------------------------------- Example 2: This does not occur when no wildcards are included. ft_channelselection({'eeg', '-P5',}, {'AF3', 'AF4', 'P5', 'CP5', 'Oz'}) ans = 'AF3' 'AF4' 'CP5' 'Oz' ---------------------------------------------------------------------------- If it's is not expected that wildcards and name channels are mixed at least a warning should be issued.
Robert Oostenveld - 2017-06-13 08:43:29 +0200
I observe >> ft_channelselection({'eeg', '-P5', '-AF*'}, {'AF3', 'AF4', 'P5', 'CP5', 'Oz'}) ans = 'CP5' 'Oz' which seems in line with expectations. Please check that you have the latest FieldTrip version.
Jan-Mathijs Schoffelen - 2018-02-28 09:18:35 +0100
I concur with Robert. Since this has not been followed up, I will close now.