Table of Contents

Class Rescale

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that rescales each element in the sequence to a new range following the specified linear relationship.

public class Rescale : ArrayTransform
Inheritance
Rescale
Inherited Members

Properties

Max

Gets or sets the upper bound of the range of values in the input sequence.

Min

Gets or sets the lower bound of the range of values in the input sequence.

RangeMax

Gets or sets the upper bound of the range of values after the rescale operation.

RangeMin

Gets or sets the lower bound of the range of values after the rescale operation.

RescaleType

Gets or sets a value specifying the method used to rescale the values in the input sequence.

Methods

Process(IObservable<double>)

Rescales every 64-bit floating-point number in an observable sequence to a new range 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.