- qspec.models. NPeak.set_vals ( vals , force = False )[source]
Set all
valswith one list.- Parameters:
-
- valsIterable[array_like]
A list of shape (
self.size, ).- forcebool
The
forceparameter of theset_valfunction.
- Returns:
-
- outNone
Set all vals with one list.
A list of shape (self.size, ).
The force parameter of the set_val function.