SkipEmptyDataHistogram
If the input histogram contains any non-zero bin, then the histogram is copied to the output; otherwise Nil is returned.
Applications:Secures against domain errors caused by histograms representing empty data sets, e.g. just before the HistogramDataAverage filter is to be invoked.
Syntax
C++
C#
Python
def SkipEmptyDataHistogram( inHistogram: Histogram, / ) -> ( outNotEmptyDataHistogram: Histogram | None, outIsNotEmpty: bool )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inHistogram | Histogram | Input histogram | |
![]() |
outNotEmptyDataHistogram | Histogram | None | ||
![]() |
outIsNotEmpty | bool |


