Start » Filter Reference » Histogram » Histogram Basics » MakeHistogram
Module: | FoundationBasic |
---|
Creates a histogram out of an array of bin values.
Name | Type | Range | Description | |
---|---|---|---|---|
inValues | DoubleArray | Input array of bin values | ||
inDomainStart | Real | Input domain begin | ||
inBinSize | Real | 0.0 - | Input length of the domain range covered by a single bin | |
inStartIndex | Integer | 0 - + | Index of the first bin in the values array | |
inBinCount | Integer* | 1 - + | Number of bins in the resulting histogram | |
outHistogram | Histogram | Output histogram |
Remarks
The calculated bin count must be equal to element count of the inValues array.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty inValues array on input in MakeHistogram. |
DomainError | Input inStartIndex out of bound in MakeHistogram. |
DomainError | Non-positive value of inBinSize in MakeHistogram. |
DomainError | Not enough data to fill all bins or inBinCount too large in MakeHistogram. |
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- AccessHistogram – Returns individual fields of a histogram.