
Rician |
ptolemy.actor.lib.Rician |
Produce a random sequence with a Rician distribution.
A Rician random variable is defined as follows:
Let Z = sqrt(X2 + Y2), where X and Y are statistically
independent Gaussian random variables with means given by parameters
xMean and yMean respectively, and common variance given by
parameter standardDeviation.
The default values of xMean and yMean are both set to be zero,
in which the distribution is also called a Rayleigh distribution. Hence,
the actor is by default a Rayleigh random generator.
On each iteration, a new random number is produced. The output port
is of type DoubleToken. The values that are generated are independent
and identically distributed with the means and the standard deviation
given by parameters. In addition, the seed can be specified as a
parameter to control the sequence that is generated.
Author(s): Ye Zhou
Version:$Id: Rician.java,v 1.24 2006/03/30 16:33:59 cxh Exp $
Pt.Proposed Rating:Green (eal)
Pt.Accepted Rating:Green (bilung)
xMean
The mean of the random number along the X-axis.
This parameter contains a DoubleToken, initially with value 0.0.
yMean
The mean of the random number along the Y-axis.
This parameter contains a DoubleToken, initially with value 0.0.
standardDeviation
The standard deviation of the random number.
This parameter contains a DoubleToken, initially with value 1.0.