C# Class MCAEmotiv.Interop.EEGDataEntryExtensions

Extension methods for EEGDataEntry and collections of entries
Afficher le fichier Open project: madelson/Emotiv-Experimenter

Méthodes publiques

Méthode Description
AverageEntry ( this entries ) : EEGDataEntry

Averages a collection of entries together

BinByTime ( this entries, int binWidthMillis ) : IArrayView>

Groups the entries by their respective time bins

Channel ( this entries, Channel channel ) : IEnumerable

Returns each entry's voltage value at the desired channel

Channel ( this entries, int channel ) : IEnumerable

Returns each entry's voltage value at the desired channel index

Channels ( this entries ) : IEnumerable>

Returns the channel time series represented by the series of entries

DownSample ( this entries, int binWidthMillis ) : IArrayView

Averages adjacent entries such that the result has only one entry per time bin of the specified width

HasStimulusMarker ( this entry ) : bool

Was a stimulus showing when this entry was recorded?

SectionByStimulus ( this entries ) : IEnumerable>

Groups entries using the sequences formed by their relative timestamps

Method Details

AverageEntry() public static méthode

Averages a collection of entries together
public static AverageEntry ( this entries ) : EEGDataEntry
entries this
Résultat EEGDataEntry

BinByTime() public static méthode

Groups the entries by their respective time bins
public static BinByTime ( this entries, int binWidthMillis ) : IArrayView>
entries this
binWidthMillis int
Résultat IArrayView>

Channel() public static méthode

Returns each entry's voltage value at the desired channel
public static Channel ( this entries, Channel channel ) : IEnumerable
entries this
channel Channel
Résultat IEnumerable

Channel() public static méthode

Returns each entry's voltage value at the desired channel index
public static Channel ( this entries, int channel ) : IEnumerable
entries this
channel int
Résultat IEnumerable

Channels() public static méthode

Returns the channel time series represented by the series of entries
public static Channels ( this entries ) : IEnumerable>
entries this
Résultat IEnumerable>

DownSample() public static méthode

Averages adjacent entries such that the result has only one entry per time bin of the specified width
public static DownSample ( this entries, int binWidthMillis ) : IArrayView
entries this
binWidthMillis int
Résultat IArrayView

HasStimulusMarker() public static méthode

Was a stimulus showing when this entry was recorded?
public static HasStimulusMarker ( this entry ) : bool
entry this
Résultat bool

SectionByStimulus() public static méthode

Groups entries using the sequences formed by their relative timestamps
public static SectionByStimulus ( this entries ) : IEnumerable>
entries this
Résultat IEnumerable>