konrad.component.Component.set

Component.set(variable, value)[source]

Set the values of a variable.

Parameters
  • variable (str) – Variable key.

  • value (float or ndarray) – Value to assign to the variable. If a float is given, all values are filled with it.