MakeHistogram


Creates a histogram out of an array of bin values.

Syntax

C++
C#
Python
 
def MakeHistogram(
	inValues: list[float],
	inDomainStart: float,
	inStartIndex: int,
	outHistogram: Histogram,
	/,
	*,
	inBinSize: float = 1.0,
	inBinCount: int | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inValues list[float] Input array of bin values
Input value inDomainStart float Input domain begin
Input value inBinSize float 0.0 - 1.0 Input length of the domain range covered by a single bin
Input value inStartIndex int 0 - + Index of the first bin in the values array
Input value inBinCount int | None 1 - + None Number of bins in the resulting histogram
Output value outHistogram Histogram Output histogram