pyabc.parameters
Model parameters
Parameters define the model input variables that are to be inferred using ABC.
- class pyabc.parameters.Parameter(*args, **kwargs)[source]
Bases:
ParameterStructure
A single model parameter.
Parameters are essentially a dictionary with the additional functionality to add and subtract parameters.
I.e.
par_1 + par_2
adds key wise.Contents can be accessed with square brackets or in dot notation.
For example
>>> p = Parameter(a=1, b=2) >>> assert p.a == p["a"]
or
>>> p = Parameter({"a": 1, "b": 2}) >>> assert p.a == p["a"]