Parameter¶
- class ionworkspipeline.Parameter(name, initial_value=1, bounds=(-inf, inf), normalize=True)¶
Parameter object for use in data fits, stores the initial value and bounds
Inherits from
pybamm.InputParameter
for compatibility with PyBaMM models.Parameters¶
- namestr
The name of the parameter.
- initial_valuefloat or int, optional
The initial value to be assigned to the parameter. Defaults to 1.
- boundstuple, optional
A tuple defining the lower and upper bounds for the parameter. Defaults to (-np.inf, np.inf).
- normalizebool, optional
Whether to normalize the parameter by its initial value. Defaults to True.
Extends:
pybamm.expression_tree.input_parameter.InputParameter
- create_copy()¶
Overwrite create_copy so that the fitting scale is incorporated
- evaluate(*args, **kwargs)¶
Returns the scaled value of the parameter