FindDataMode_MeanShift
Finds the mode in a set of data values by iteratively computing its median.
Applications:Can be used to determine a histogram maximum without actually creating the histogram.
Syntax
C++
C#
Python
def FindDataMode_MeanShift( inValues: list[float], /, *, inIterationCount: int = 1, inSpread: float = 2.0 ) -> outMode: float
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inValues | list[float] | |||
![]() |
inIterationCount | int | 0 - 1000 | 1 | |
![]() |
inSpread | float | 0.0 - ![]() |
2.0 | |
![]() |
outMode | float |



