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_pars  (  pars ,  force=False  )[source]

Set all vals, fixes and links with one nested list.

Parameters:
parsIterable[tuple[scalar, fix_type, bool]]

An iterable of size-3 tuples (val, fix, link). Equivalent to shape (Model.size, 3).

forcebool

The force parameter of Model.set_val, Model.set_fix and Model.set_link.