Channel Selector

Summary

Doc_BoxAlgorithm_ChannelSelector.png
  • Plugin name : Channel Selector
  • Version : 1.0
  • Author : Yann Renard
  • Company : INRIA
  • Short description : Select a subset of signal channels
  • Documentation template generation date : Dec 30 2016

Description

Selection can be based on channel name (case-sensitive) or index starting from 0

This box allows to restrict outgoing signal data to a subset of incoming data based on a list of channels. Channels may be identified by their index, their name (the case matters), or a mix of both. Additionally, the channels can be rejected instead of being selected. The name of the box displayed in the designer is the channel list (first setting). It allows the user to see directly if the box configuration is correct. However, should the user chose to rename the box manually, further change in the configuration won't be reflected in the name, except if the name is set back to its default value.

Inputs

1. Input signal

The input matrix which channels should be selected or rejected. The type of this input can be changed to signal or spectrum depending on what kind of stream channel to select.

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

Outputs

1. Output signal

The output matrix with selected or preserved channels. The type of this output can be changed to signal or spectrum depending on what kind of stream channel to select.

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

Settings

1. Channel List

A semi colon separated list of channel identifiers. You can use the index of the channel or the name of the channel. Also, ranges can be selected specifying first channel identifier, followed by a colon, followed by the second channel identifier.

  • Type identifier : String (0x79a9edeb, 0x245d83fc)
  • Default value : [ : ]

2. Action

The action to perform on the identifier channel, be it selection or rejection.

  • Type identifier : Selection method (0x3bcf9e67, 0x0c23994d)
  • Default value : [ Select ]

3. Channel Matching Method

The kind of identification for channel list.

  • Smart let the box try to detect if the channel identifier is an index or a name
  • Name forces the channel identifiers to be considered as channel names. This can be useful if channel names are numbers.
  • Index forces the channel identifiers to be considered as channel indices. This can be useful if channel names are numbers.
  • Type identifier : Match method (0x666f25e9, 0x3e5738d6)
  • Default value : [ Smart ]

Examples

Suppose you want to select the first 8 channels of an input stream, plus you want the Cz electrode. You would then use the following string : "1:8[SEMICOLON]Cz", where you replace [SEMICOLON] with the actual semicolon character (that we are unable to print here due to bug in CMake).

Miscellaneous