Normal

Normal(mean, std, n=None, value=None, **kwargs)[source]

Create a Parameter with a normal (Gaussian) distribution.

Parameters:
  • mean (float | Sequence[float]) – The mean of the distribution. Can be a sequence for a multi-valued Parameter.

  • std (float | Sequence[float]) – The standard deviation of the distribution. Can be a sequence for a multi-valued Parameter.

  • n (int, optional) – The number of identical parameters to create in an array. Defaults to None.

  • value (optional) – The initial value. If None, the mean of the distribution is used. Defaults to None.

  • **kwargs – Additional keyword arguments passed to the Parameter constructor.

Returns:

The created Parameter object.

Return type:

Parameter