FindDataMode_FixedCount


Finds the mode in a set of data values by looking for highest concentration of a fixed number of samples.

Applications:Can be used to determine a histogram maximum without actually creating the histogram.

Syntax

C++
C#
Python
 
def FindDataMode_FixedCount(
	inValues: list[float],
	/,
	*,
	inMinValue: float | None = None,
	inMaxValue: float | None = None,
	inCount: int = 3,
	inCycle: float | None = None
)
-> (
	outMode: float,
	outMiddle: float,
	outSpread: float
)

Parameters

Name Type Range Default Description
Input value inValues list[float]
Input value inMinValue float | None None
Input value inMaxValue float | None None
Input value inCount int 2 - 3
Input value inCycle float | None None
Output value outMode float
Output value outMiddle float
Output value outSpread float