3.1.1. lekkersim.add_param

lekkersim.add_param(old_name: str, func: Callable, default: Dict[str, Any] = None) None

Define a paramter of the active solver in term of new paramter(s)

Parameters:
  • old_name (str) – name of the old parameter to set

  • func (function) – function linking old parameter to new parameter(s)

  • default (dic) – default value(s) of the new parameter(s). Can be None. In this case, introspection is used to try fo find the new parameter(s) and default from func. An error is raised if not possible.