Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process<TArray>(IObservable<TArray>)

Computes the running average of all the arrays in an observable sequence.

public override IObservable<TArray> Process<TArray>(IObservable<TArray> source) where TArray : Arr

Parameters

source IObservable<TArray>

A sequence of multi-channel array values.

Returns

IObservable<TArray>

A sequence of multi-channel arrays, where each element represents the weighted sum of the corresponding input value and the accumulated average.

Type Parameters

TArray

The type of the array-like objects in the source sequence.