quartic2d.HankelTransform.converge#

HankelTransform.converge(*, rtol=0.001, atol=0.0, subdivisions=(1, 2, 4, 8), hstart=0.05, hdecrement=2.0, maxiter=15, apply=False)#

Refine the active radial quadrature on the current input grids.

Parameters:
  • rtol (float, default=1e-3) – Relative self-convergence threshold between successive numerical refinements.

  • atol (float, default=0) – Absolute self-convergence threshold used together with rtol.

  • subdivisions (iterable of int, default=(1, 2, 4, 8)) – Candidate finite-grid subdivision counts, tried in order.

  • hstart (float, default=0.05) – Initial Ogata resolution parameter.

  • hdecrement (float, default=2) – Factor controlling the Ogata resolution search.

  • maxiter (int, default=15) – Maximum number of Ogata search iterations.

  • apply (bool, default=False) – If True, apply the selected parameters to this object and recompute the transform.

Returns:

Internal self-convergence record and selected parameters.

Return type:

ConvergenceResult

Raises:
  • RuntimeError – If apply=True but the search does not produce converged parameters.

  • ImportError – If the active method is 'ogata' and the optional hankel dependency is unavailable.

Notes

Finite-grid methods refine subdivisions. Ogata searches N and h. The reported error is an internal refinement diagnostic, not an independent reference error.