Produce a token that is the value of the input in decibels.
That is, if the input is <i>z</i>, then the output is
<i>k</i>*log<sub>10</sub>(<em>z</em>).
The constant <i>k</i> depends on the value of the <i>inputIsPower</i>
parameter. If that parameter is true, then <i>k</i> = 10.
Otherwise (the default) <i>k</i> = 20.
Normally, you would set <i>inputIsPower</i> to true if
the input is the square of a signal, and to false otherwise.
<p>
The output is never smaller than the value of the <i>min</i> parameter.
This makes it easier to plot by limiting the range of output values.
If the input is zero or negative, then the output is the
value of the <i>min</i> parameter.
<p>
The input and output both have type double.
Bart Kienhuis and Edward A. Lee
$Id: DB.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 1.0
Yellow (eal)
Yellow (ssachs)
If the input is proportional to power, then set this to true.
This must be a boolean, and defaults to false.
The minimum value of the output. This is a double,
and defaults to -100.0.