MCAEmotiv.Interop.Channels.ChannelData C# (CSharp) Method

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
        public static IEnumerable<double> ChannelData(this Dictionary<EdkDll.EE_DataChannel_t, double[]> data, int index)
        {
            foreach (var channel in Values)
                yield return data[channel.ToEdkChannel()][index];
        }