ComputeHistogram

Parent Previous Next

VisualSim.actor.lib
Class ComputeHistogram


Compute a histogram.

The output array consists of a set of vertical bars, each representing a histogram bin. The height of the bar is the count of the number of inputs that have been observed that fall within that bin. The n-th bin represents values in the range (x - w/2 + o, x + w/2 + o), where w is the value of the binWidth parameter, and o is the value of the binOffset parameter. So for example, if o = w/2, then each bin represents values from nw to (n + 1)w for some integer n. The default offset is 0.5, half the default bin width, which is 1.0.

This actor has a legend parameter, which gives a comma-separated list of labels to attach to each dataset. Normally, the number of elements in this list should equal the number of input channels, although this is not enforced.


Field Detail

minimumValue

public VisualSim.data.expr.Parameter minimumValue


maximumValue

public VisualSim.data.expr.Parameter maximumValue


numberOfBins

public VisualSim.data.expr.Parameter numberOfBins


inputCount

public VisualSim.actor.parameters.PortParameter inputCount


input

public VisualSim.actor.TypedIOPort input


output

public VisualSim.actor.TypedIOPort output



Created with the Personal Edition of HelpNDoc: Full-featured Help generator