solve()#
- Lcurve.solve(bounds: Collection[float | None] | None = None, stepsize: float = 10, **kwargs) tuple[ndarray, dict]Source#
Solve the ill-posed inversion equation.
This method is used to seek the optimal regularization parameter finding the global minimum of an objective function using the
basinhoppingfunction.An objective function
_objective_functionmust be defined in the subclass.- Parameters:
- bounds
Collection[float|None],optional Boundary pair of log10 of regularization parameters, by default
bounds. Users can specify either lower or upper bound or both like(1.0, None).- stepsize
float,optional Stepsize of optimization, by default 10.
- **kwargs
dict,optional Keyword arguments for
basinhoppingfunction.
- bounds
- Returns:
- sol(
N, )array 1-D array of the solution vector.
- res
OptimizeResult Object returned by
basinhoppingfunction.
- sol(