You are here: Start » FIL.NET » Invoke.FindDensityMaxima_FixedCount
Finds local density maxima in set of values by looking for the highest concentration of a fixed number of samples.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FindDensityMaxima_FixedCount ( List<float> inValues, int inCount, Optional<float> inMaxSpread, bool inAllowOverlapping, Optional<float> inCycle, Fil.DataModeFunction inModeFunction, Optional<Fil.LocalBlindness> inLocalBlindness, List<float> outModes, List<float> outSpreads )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inValues | System.Collections.Generic.List<float> | Data points array. | ||
![]() | inCount | int | <2, INF> | 3 | Number of points in a single window. Default value: 3. |
![]() | inMaxSpread | Ftl.Optional<float> | Maximum spread of points within a window. Default value: ftl::NIL. | ||
![]() | inAllowOverlapping | bool | If true all local maxima will be returned otherwise for each group of ranges that overlap a single mode will be returned (the middle of the group). | ||
![]() | inCycle | Ftl.Optional<float> | Length of the cycle if data is to be considered cyclically. Default value: ftl::NIL. | ||
![]() | inModeFunction | Fil.DataModeFunction | Mean | Method of calculating the center of a data mode. Default value: Mean. | |
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Helps to sieve out unnecessary points. Default value: ftl::NIL. | ||
![]() | outModes | System.Collections.Generic.List<float> | Computed data modes. | ||
![]() | outSpreads | System.Collections.Generic.List<float> | Spreads of windows that had a mode. |