SetHistogramCorrespondingBin


Selects a bin that the given value in the histogram domain falls into and sets the value of this bin.

Syntax

C++
C#
Python
 
def SetHistogramCorrespondingBin(
	ioHistogram: Histogram,
	inBinSelectionValue: float,
	inNewValue: float,
	/,
	*,
	inCyclic: bool = False
)
-> None

Parameters

Name Type Default Description
Input will be modified ioHistogram Histogram
Input value inBinSelectionValue float Input value in the histogram domain that will be used to select the bin
Input value inCyclic bool False Whether to wrap the index around or not
Input value inNewValue float Input new value to be set