cherab.phix.inversion.Lcurve.solve#
- Lcurve.solve(bounds=(-20.0, 2.0), stepsize=10, **kwargs)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 (tuple[float, float]) – bounds of log10 of regularization parameter, by default (-20.0, 2.0).
stepsize (float) – stepsize of optimization, by default 10.
**kwargs – keyword arguments for
basinhoppingfunction.
- Returns:
(solution, res), where solution is the inverted solution vector and res is the result of optimization generated by
basinhopping.- Return type:
tuple of
ndarrayandOptimizeResult