poisson¶
-
astropy.uncertainty.poisson(center, n_samples, cls=<class 'astropy.uncertainty.core.Distribution'>, **kwargs)[source]¶ Create a Poisson distribution.
Parameters: center :
QuantityThe center value of this distribution (i.e., λ).
n_samples : int
The number of Monte Carlo samples to use with this distribution
cls : class
The class to use to create this distribution. Typically a
Distributionsubclass.Remaining keywords are passed into the constructor of the ``cls``
Returns: distr :
cls, usuallyDistributionThe sampled poisson distribution.