Table of Contents

Method Generate

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Generate()

Generates an observable sequence of buffers sampled from a signal waveform following the specified periodic function.

public override IObservable<Mat> Generate()

Returns

IObservable<Mat>

A sequence of Mat objects representing signal sampling buffers of a fixed length. See BufferLength.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of buffers sampled from a signal waveform following the specified periodic function, and 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 signal buffers.

Returns

IObservable<Mat>

A sequence of Mat objects representing signal sampling buffers of a fixed length. See BufferLength.

Type Parameters

TSource

The type of the elements in the source sequence.