Click or drag to resize

CroppingByIndicesGetCroppedRegions Method

Gets the cropped regions.

Namespace: Altaxo.Science.Spectroscopy.Cropping
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public IEnumerable<(int start, int end)> GetCroppedRegions(
	int[]? regions,
	int arrayLength
)

Parameters

regions  Int32
The regions. Each element is the start index of a new region
arrayLength  Int32
Total length of the array.

Return Value

IEnumerableValueTupleInt32, Int32
Enumeration of start and end (exclusive) index of the cropped regions.
See Also