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. Lorentz.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, the parameter is converted to the correct format.

Returns:
outNone

API navigation