Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.models. Summed.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

API navigation