| Trees | Indices | Help |
|
|---|
|
|
Simulate Poisson-distributed activity with specified mean values.
This transfer function interprets each matrix value as the (potentially scaled) rate of a Poisson process and replaces it with a sample from the appropriate Poisson distribution.
To allow the matrix to contain values in a suitable range (such as [0.0,1.0]), the input matrix is scaled by the parameter in_scale, and the baseline_rate is added before sampling. After sampling, the output value is then scaled by out_scale. The function thus performs this transformation:
x <- P(in_scale * x + baseline_rate) * out_scale
where x is a matrix value and P(r) samples from a Poisson distribution with rate r.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
in_scale = param.Number(default= 1.0, doc= Amount by which to scale the input. |
|||
baseline_rate = param.Number(default= 0.0, doc= Constant to add to the input after scaling, resulting in a baseline Poisson process rate. |
|||
out_scale = param.Number(default= 1.0, doc= Amount by which to scale the output (e.g. |
|||
name = <param.parameterized.String object at 0xb5896ec>String identifier for this object. |
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|||
in_scaleAmount by which to scale the input.
|
baseline_rateConstant to add to the input after scaling, resulting in a baseline Poisson process rate.
|
out_scaleAmount by which to scale the output (e.g. 1.0/in_scale).
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:48 2010 | http://epydoc.sourceforge.net |