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