poisson#

named_arrays.random.poisson(lam, shape_random=None, seed=None)#

Draw samples from a Poisson distribution

Parameters:
  • lam (RandomCenterT) – Expected number of events

  • shape_random (None | dict[str, int]) – Additional dimensions to be broadcast against center and width

  • seed (None | int) – Seed for the random number generator, can be provided for repeatability.

Return type:

RandomCenterT

See also

numpy.random.poisson()

Equivalent numpy function

named_arrays.ScalarPoissonlRandomSample

Implicit array version of this function for scalars

named_arrays.UncertainScalarPoissonRandomSample

Implicit array version of this function for uncertain scalars