正常的#
- astropy.uncertainty.normal(center, *, std=None, var=None, ivar=None, n_samples, cls=<class 'astropy.uncertainty.core.Distribution'>, **kwargs)[源代码]#
创建高斯/正态分布。
- 参数:
- 中心 :
Quantity
数量 这个分布的中心
- std :
Quantity
orNone
数量或 Python :无 此分布的标准差/σ。形状必须匹配,单位必须兼容
center
或是None
(如果var
或ivar
已设置)。- var :
Quantity
orNone
数量或 Python :无 这个分布的方差。形状必须匹配,单位必须兼容
center
或是None
(如果std
或ivar
已设置)。- ivar :
Quantity
orNone
数量或 Python :无 这个分布的逆方差。形状必须匹配,单位必须兼容
center
或是None
(如果std
或var
已设置)。- n_samples :
int
Python :整型 用于此分布的蒙特卡罗样本数
- cls类
用于创建此分发的类。通常是
Distribution
子类。- Remaining keywords are passed into the constructor of the ``cls``
- 中心 :
- 返回:
- distr :
Distribution
orobject
分布或对象 采样的高斯分布。类型将与参数相同
cls
。
- distr :