spectrochempy.normalο
- normal(loc=0.0, scale=1.0, size=None, dtype=None, **kwargs)[source]ο
Return samples from a normal (Gaussian) distribution.
- Parameters:
loc (float, optional) β Mean of the distribution.
scale (float, optional) β Standard deviation of the distribution. Must be non-negative.
size (int or tuple of ints, optional) β Output shape. Default is None, in which case a single value is returned.
dtype (dtype, optional) β Desired dtype of the result. The default is
np.float64.**kwargs β Keyword arguments used when creating the returned object, such as units, name, title, etc.
- Returns:
normal β Samples drawn from the normal distribution.