WindowTransform Class

Replaces the y value of each row with a reduction (a mean, by default) of the y values of the rows around it, in the order of the rows, for each series: a moving average. At the ends of a series, the window has fewer rows.

public sealed class WindowTransform : Transform
Inheritance
Transform WindowTransform

Constructors

NameDescription
WindowTransform()

WindowTransform()

WindowTransform.cs
public WindowTransform()

No documentation is available.

Properties

NameDescription
AnchorGets or sets where the window is, relative to its row. The default is WindowAnchor.Middle.
ReducerGets or sets how the y values of the window are combined. The default is GroupReducer.Mean.
SizeGets or sets the number of rows of the window. The default is 3.

Gets or sets where the window is, relative to its row. The default is WindowAnchor.Middle.

public WindowAnchor Anchor { get; set; }

Property value

WindowAnchor

Gets or sets how the y values of the window are combined. The default is GroupReducer.Mean.

public GroupReducer Reducer { get; set; }

Property value

GroupReducer

Gets or sets the number of rows of the window. The default is 3.

public int Size { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is less than 1.