poisson#

class poisson(lam=1.0, **kwargs)[source]#

Bases: Dist

Poisson distribution

Parameters:

lam (float) – the scale of the distribution (default 1.0)

Attributes

bitgen

state

Get the current state

state_int

Get the integer corresponding to the current state

Methods

sync_pars()[source]#

Translate between NumPy and SciPy parameters

preprocess_timepar(key, timepar)[source]#

Try to update the timepar before calculating array parameters, but raise an exception if this isn’t possible