泊松#

astropy.uncertainty.poisson(center, n_samples, cls=<class 'astropy.uncertainty.core.Distribution'>, **kwargs)[源代码]#

创建泊松分布。

参数:
中心Quantity数量

该分布的中心值(即λ)。

n_samples : intPython :整型

用于此分布的蒙特卡罗样本数

cls

用于创建此分发的类。通常是 Distribution 子类。

Remaining keywords are passed into the constructor of the ``cls``
返回:
distr : Distribution or object分布或对象

抽样泊松分布。类型将与参数相同 cls