set_from_label_and_value_arrays

Parameters.set_from_label_and_value_arrays(labels: list[str], values: ndarray)[source]

Update the parameter values from a list of labels and values.

Parameters:
  • labels (list[str]) – A list of parameter labels.

  • values (np.ndarray) – An array of parameter values.

Raises:

ValueError – Raised if the size of the labels does not match the stize of values.