C# Класс MCAEmotiv.Interop.EEGDataEntry

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
NUM_LINE_FIELDS int

Открытые методы

Метод Описание
EEGDataEntry ( int marker, int timeStamp, int relativeTimeStamp, IEnumerable channelData ) : System

Constructs an EEGDataEntry. A copy of channelData is created.

Equals ( object obj ) : bool

Checks all fields to determine equality

FromFile ( string path ) : IEnumerable

Attempts to use Parse/ParseOldFormat to extract the entries in the file

GetHashCode ( ) : int

Returns a hashcode for this entry

Parse ( string line ) : EEGDataEntry

Parses a line of text as an EEGDataEntry. The line should have been created with ToString

ParseOldFormat ( string line, int onsetTime ) : EEGDataEntry

Parses a line of text based on a format that is essentially the raw output of the emotiv headset

ToString ( ) : string

A CSV string representation which can be parsed by Parse.

WithMarker ( int marker ) : EEGDataEntry

Create an identical entry except for the marker field. Re-uses the channel data

this ( Channel channel ) : double

Provides explicit channel-based access to data

Приватные методы

Метод Описание
EEGDataEntry ( int marker, int timeStamp, int relativeTimeStamp, IArrayView channelData ) : System

Описание методов

EEGDataEntry() публичный Метод

Constructs an EEGDataEntry. A copy of channelData is created.
public EEGDataEntry ( int marker, int timeStamp, int relativeTimeStamp, IEnumerable channelData ) : System
marker int
timeStamp int
relativeTimeStamp int
channelData IEnumerable
Результат System

Equals() публичный Метод

Checks all fields to determine equality
public Equals ( object obj ) : bool
obj object
Результат bool

FromFile() публичный статический Метод

Attempts to use Parse/ParseOldFormat to extract the entries in the file
public static FromFile ( string path ) : IEnumerable
path string
Результат IEnumerable

GetHashCode() публичный Метод

Returns a hashcode for this entry
public GetHashCode ( ) : int
Результат int

Parse() публичный статический Метод

Parses a line of text as an EEGDataEntry. The line should have been created with ToString
public static Parse ( string line ) : EEGDataEntry
line string
Результат EEGDataEntry

ParseOldFormat() публичный статический Метод

Parses a line of text based on a format that is essentially the raw output of the emotiv headset
public static ParseOldFormat ( string line, int onsetTime ) : EEGDataEntry
line string
onsetTime int
Результат EEGDataEntry

ToString() публичный Метод

A CSV string representation which can be parsed by Parse.
public ToString ( ) : string
Результат string

WithMarker() публичный Метод

Create an identical entry except for the marker field. Re-uses the channel data
public WithMarker ( int marker ) : EEGDataEntry
marker int
Результат EEGDataEntry

this() публичный Метод

Provides explicit channel-based access to data
public this ( Channel channel ) : double
channel Channel
Результат double

Описание свойств

NUM_LINE_FIELDS публичное статическое свойство

The number of fields in an entry's ToString output
public static int NUM_LINE_FIELDS
Результат int