C# 클래스 MCAEmotiv.Interop.EEGDataEntry

파일 보기 프로젝트 열기: madelson/Emotiv-Experimenter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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