泊松#
- astropy.uncertainty.poisson(center, n_samples, cls=<class 'astropy.uncertainty.core.Distribution'>, **kwargs)[源代码]#
创建泊松分布。
- 参数:
- 中心 :
Quantity
数量 该分布的中心值(即λ)。
- n_samples :
int
Python :整型 用于此分布的蒙特卡罗样本数
- cls类
用于创建此分发的类。通常是
Distribution
子类。- Remaining keywords are passed into the constructor of the ``cls``
- 中心 :
- 返回:
- distr :
Distribution
orobject
分布或对象 抽样泊松分布。类型将与参数相同
cls
。
- distr :