You are here: Start » FIL.NET » Invoke.FindDensityMaxima_FixedSpread

Invoke.FindDensityMaxima_FixedSpread

Finds local density maxima in a set of values by looking for the highest number of samples withing a range determined by the given spread.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FindDensityMaxima_FixedSpread
(
	List<float> inValues,
	float inSpread,
	int inMinCount,
	bool inAllowOverlapping,
	Optional<float> inCycle,
	Fil.DataModeFunction inModeFunction,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	List<float> outModes,
	List<int> outCounts
)

Parameters

Name Type Range Default Description
inValuesSystem.Collections.Generic.List<float>Data points array.
inSpreadfloat<0.0f, INF>2.0fMaximum spread of a single window. Default value: 2.0f.
inMinCountint<1, INF>1Windows with a smaller count will not be considered. Default value: 1.
inAllowOverlappingboolIf true all local maxima will be returned otherwise for each group of ranges that overlap only the one with the smallest real spread will be returned.
inCycleFtl.Optional<float>Length of the cycle if data is to be considered cyclically. Default value: ftl::NIL.
inModeFunctionFil.DataModeFunctionMeanMethod of calculating the center of a data mode. Default value: Mean.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Helps to sieve out unnecessary points. Default value: ftl::NIL.
outModesSystem.Collections.Generic.List<float>Computed data modes.
outCountsSystem.Collections.Generic.List<int>Sizes of windows that had a mode.

See also