Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process(IObservable<double>)

Rescales every 64-bit floating-point number in an observable sequence to a new range following the specified linear relationship.

public IObservable<double> Process(IObservable<double> source)

Parameters

source IObservable<double>

A sequence of 64-bit floating-point numbers.

Returns

IObservable<double>

A sequence of 64-bit floating-point numbers, where each value has been rescaled following the specified linear relationship.

Process<TArray>(IObservable<TArray>)

Rescales every individual element for all arrays in an observable sequence to a new range following the specified linear relationship.

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 element of the array has been rescaled following the specified linear relationship.

Type Parameters

TArray

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