- qspec.models. Model.set_fix ( i , fix , force = False )[source]
Set a specific parameter fix state.
- Parameters:
-
- inumpy.ndarray[Any | numpy.dtype[numpy.integer]] | numpy.integer | int | str
The index (
int
) or the name (str
) of the parameter.- fixndarray | Iterable | bool | str
The new parameter value.
- forcebool
Force the parameter to take exactly the new fix state. If
False
, the parameter is converted to the correct format.
- Returns:
-
- outNone