pybop.problems.multi_fitting_problem#
Classes#
Problem class for joining mulitple fitting problems into one combined fitting problem. |
Module Contents#
- class pybop.problems.multi_fitting_problem.MultiFittingProblem(*args)[source]#
Bases:
pybop.BaseProblemProblem class for joining mulitple fitting problems into one combined fitting problem.
Extends BaseProblem in a similar way to FittingProblem but for multiple parameter estimation problems, which must first be defined individually.
Additional Attributes#
- problemspybop.FittingProblem
The individual PyBOP fitting problems.
- evaluate(inputs: pybop.parameters.parameter.Inputs)[source]#
Evaluate the model with the given parameters and return the signal.
- Parameters:
inputs (Inputs) – Parameters for evaluation of the model.
- Returns:
y – The model output y(t) simulated with given inputs.
- Return type:
np.ndarray
- evaluateS1(inputs: pybop.parameters.parameter.Inputs)[source]#
Evaluate the model with the given parameters and return the signal and its derivatives.
- Parameters:
inputs (Inputs) – Parameters for evaluation of the model.
- Returns:
A tuple containing the simulation result y(t) as a dictionary and the sensitivities dy/dx(t) evaluated with given inputs.
- Return type:
tuple[dict, np.ndarray]