pyhs3.functions.Function

class pyhs3.functions.Function(*, name, kind, parameters)[source]

Base class for HS3 functions.

Parameters:
__init__(*, name, kind, parameters)[source]

Base class for functions that compute parameter values.

Parameters:
  • name (str) – Name of the function

  • kind (str) – Type of the function (product, generic_function, interpolation)

  • parameters (list[str]) – List of parameter/function names this function depends on

Methods

__init__(*, name, kind, parameters)

Base class for functions that compute parameter values.

expression(_)

Evaluate the function expression.

from_dict(config)

Create a Function instance from dictionary configuration.