Limiter
ptolemy.actor.lib.Limiter

Produce an output token on each firing with a value that is equal to the input if the input lies between the bottom and top parameters. Otherwise, if the input is greater than top, output top. If the input is less than bottom, output bottom. This actor operates on doubles only.

Author(s): Edward A. Lee
Version:$Id: Limiter.java,v 1.20 2005/10/28 20:14:48 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (yuhong)




bottom
The bottom of the limiting range. This is a double with default value 0.0.

top
The top of the limiting range. This is a double with default value 1.0.