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.Model. set_vals  (  vals ,  force=False  )[source]

Set all vals with one list.

Parameters:
valsIterable[scalar]

A list of shape (Model.size, ).

forcebool

The force parameter of Model.set_val.