You are here: Start » FIL.NET » FIS.FindDensityMaxima_FixedSpread Method
FIS.FindDensityMaxima_FixedSpread Method
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: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void FindDensityMaxima_FixedSpread ( IList<float> inValues, float inSpread, int inMinCount, bool inAllowOverlapping, float? inCycle, FilNet.DataModeFunction inModeFunction, FilNet.LocalBlindness? inLocalBlindness, IList<float> outModes, IList<int> outCounts )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inValues | System.Collections.Generic.IList<float> | Data points array. | ||
![]() | inSpread | float | <0.0f, INF> | 2.0f | Maximum spread of a single window. Default value: 2.0f. |
![]() | inMinCount | int | <1, INF> | 1 | Windows with a smaller count will not be considered. Default value: 1. |
![]() | inAllowOverlapping | bool | If 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. | ||
![]() | inCycle | float? | Length of the cycle if data is to be considered cyclically. Default value: ftl::NIL. | ||
![]() | inModeFunction | FilNet.DataModeFunction | Mean | Method of calculating the center of a data mode. Default value: Mean. | |
![]() | inLocalBlindness | FilNet.LocalBlindness? | Helps to sieve out unnecessary points. Default value: ftl::NIL. | ||
![]() | outModes | System.Collections.Generic.IList<float> | Computed data modes. | ||
![]() | outCounts | System.Collections.Generic.IList<int> | Sizes of windows that had a mode. |