Table of Contents

Class Slice

Namespace
Bonsai.ML.LinearDynamicalSystems
Assembly
Bonsai.ML.LinearDynamicalSystems.dll

Represents an operator that slices a 2D multi-dimensional array.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class Slice
Inheritance
Slice
Inherited Members

Properties

ColEnd

Gets or sets the index to stop slicing the columns of the array. A value of null indicates the last column of the array.

public int? ColEnd { get; set; }

Property Value

int?

ColStart

Gets or sets the index to begin slicing the columns of the array. A value of null indicates the first column of the array.

public int? ColStart { get; set; }

Property Value

int?

RowEnd

Gets or sets the index to stop slicing the rows of the array. A value of null indicates the last row of the array.

public int? RowEnd { get; set; }

Property Value

int?

RowStart

Gets or sets the index to begin slicing the rows of the array. A value of null indicates the first row of the array.

public int? RowStart { get; set; }

Property Value

int?

Methods

Process(IObservable<double[,]>)

Slices a 2D multi-dimensional array into a new multi-dimensional array by extracting elements between the provided start and end indices of the rows and columns.

public IObservable<double[,]> Process(IObservable<double[,]> source)

Parameters

source IObservable<double[,]>

Returns

IObservable<double[,]>