C# Class MCAEmotiv.Interop.Channels

Utilities and extensions for the Channel enumeration
Show file Open project: madelson/Emotiv-Experimenter

Public Methods

Method Description
ChannelData ( double[]>.this data, int index ) : IEnumerable

Returns the set of channel values at the requested index

Mirror ( this channel ) : Channel

Returns the channel which is in the same location as this channel, but on a mirror image of half of the head

TimeStamps ( double[]>.this data ) : double[]

Returns the sequence of timestamp values

ToEdkChannel ( this channel ) : EdkDll.EE_DataChannel_t

Converts the channel to an EdkDll.EE_DataChannel_t enumeration

ToIndex ( this channel ) : int

Returns the index of the channel in Channels.Values

Private Methods

Method Description
Channels ( ) : System

Method Details

ChannelData() public static method

Returns the set of channel values at the requested index
public static ChannelData ( double[]>.this data, int index ) : IEnumerable
data double[]>.this
index int
return IEnumerable

Mirror() public static method

Returns the channel which is in the same location as this channel, but on a mirror image of half of the head
public static Mirror ( this channel ) : Channel
channel this
return Channel

TimeStamps() public static method

Returns the sequence of timestamp values
public static TimeStamps ( double[]>.this data ) : double[]
data double[]>.this
return double[]

ToEdkChannel() public static method

Converts the channel to an EdkDll.EE_DataChannel_t enumeration
public static ToEdkChannel ( this channel ) : EdkDll.EE_DataChannel_t
channel this
return EdkDll.EE_DataChannel_t

ToIndex() public static method

Returns the index of the channel in Channels.Values
public static ToIndex ( this channel ) : int
channel this
return int