C# Class MCAEmotiv.Interop.EEGDataEntry

Afficher le fichier Open project: madelson/Emotiv-Experimenter Class Usage Examples

Méthodes publiques

Свойство Type Description
NUM_LINE_FIELDS int

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
EEGDataEntry ( int marker, int timeStamp, int relativeTimeStamp, IArrayView channelData ) : System

Method Details

EEGDataEntry() public méthode

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
Résultat System

Equals() public méthode

Checks all fields to determine equality
public Equals ( object obj ) : bool
obj object
Résultat bool

FromFile() public static méthode

Attempts to use Parse/ParseOldFormat to extract the entries in the file
public static FromFile ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetHashCode() public méthode

Returns a hashcode for this entry
public GetHashCode ( ) : int
Résultat int

Parse() public static méthode

Parses a line of text as an EEGDataEntry. The line should have been created with ToString
public static Parse ( string line ) : EEGDataEntry
line string
Résultat EEGDataEntry

ParseOldFormat() public static méthode

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
Résultat EEGDataEntry

ToString() public méthode

A CSV string representation which can be parsed by Parse.
public ToString ( ) : string
Résultat string

WithMarker() public méthode

Create an identical entry except for the marker field. Re-uses the channel data
public WithMarker ( int marker ) : EEGDataEntry
marker int
Résultat EEGDataEntry

this() public méthode

Provides explicit channel-based access to data
public this ( Channel channel ) : double
channel Channel
Résultat double

Property Details

NUM_LINE_FIELDS public_oe static_oe property

The number of fields in an entry's ToString output
public static int NUM_LINE_FIELDS
Résultat int