- qspec.models. Linked.set_link ( i , link , force = False )[source]
Set a specific parameter link state. Also sets the link state for the respective submodel.
- Parameters:
-
- inumpy.ndarray[Any | numpy.dtype[numpy.integer]] | numpy.integer | int | str
The index (
int) or the name (str) of the parameter.- linkbool
The new parameter link state.
- forcebool
Force the parameter to take exactly the new link state. If
False, the parameter is converted to the correct format.
- Returns:
-
- outNone