Table of Contents

Method Generate

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Generate()

Generates an observable sequence of signal sample buffers from the specified raw binary input stream.

public override IObservable<Mat> Generate()

Returns

IObservable<Mat>

A sequence of Mat objects representing fixed-size buffers of samples from the signal stored in the specified file.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of signal sample buffers from the specified raw binary input stream, where each new buffer is emitted only when an observable sequence emits a notification.

public IObservable<Mat> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting sample buffers.

Returns

IObservable<Mat>

A sequence of Mat objects representing fixed-size buffers of samples from the signal stored in the specified file.

Type Parameters

TSource

The type of the elements in the source sequence.