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