Table of Contents

Class IncrementalMean

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that incrementally computes the mean of the arrays in the sequence and returns each intermediate result.

public class IncrementalMean : ArrayTransform
Inheritance
IncrementalMean
Inherited Members

Methods

Process<TArray>(IObservable<TArray>)

Incrementally computes the mean of the arrays in an observable sequence and returns each intermediate result.

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 array values, where each array stores the incremental mean of all previous array values in the source sequence.

Type Parameters

TArray

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