Fixed

Fixed(value, n=None, **kwargs)[source]

Create a Parameter that is marked as fixed.

This sets the fixed flag of the parameter to True, and assigned an infinitely wide improper normal distribution if a distribution is not passed.

Parameters:
  • value – The value of the parameter.

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

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

Returns:

The created fixed Parameter object.

Return type:

Parameter