CreateHistogram


Creates the histogram of the array of real numbers.

Syntax

C++
C#
Python
 
def CreateHistogram(
	inArray: list[float],
	outHistogram: Histogram,
	/,
	*,
	inWeights: list[float] | None = None,
	inDomainStart: float | None = None,
	inBinSize: float = 1.0,
	inBinCount: int | None = None,
	inCyclic: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input value inArray list[float] Array from which histogram will be generated
Input value inWeights list[float] | None None Weights corresponding to the elements of 'inArray'
Input value inDomainStart float | None None Input domain begin
Input value inBinSize float 0.0001 - 1.0 Input bin size
Input value inBinCount int | None 0 - + None Input domain length
Input value inCyclic bool False Determines if input data is cyclic
Output value outHistogram Histogram Output histogram