Constrain Abstraction

This abstraction constrains a signal between two values. This is a useful abstraction for situations in which you only want to concentrate on a subset of the full range of a sensor’s signal.

Illustration of abstraction.

Repository

The abstractions can be found on github.

Arguments

The first argument is the lower bound and the second argument is the higher bound.

Inlets

Left inlet is the signal to be constrained.

Outlets

Left outlet is the signal after it has been constrained between the two values specified as its arguments.