qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.models.Convolved. set_val  (  i ,  val ,  force=False  )[source]

Set a specific parameter value.

Parameters:
iint_like | str

The index (int) or the name (str) of the parameter.

valscalar

The new parameter value.

forcebool

Force the parameter to take exactly the new value. If False, non-scalar values are ignored.