quartic2d.HankelTransform.set_method#
- HankelTransform.set_method(method, *, subdivisions=None, N=None, h=None)#
Select the radial quadrature and recompute the transform.
- Parameters:
method ({'trapezoid', 'simpson', 'gl4', 'gl8', 'ogata'}) – Radial integration method.
trapezoid,simpson,gl4, andgl8operate on the sampled radial interval.ogatauses the optionalhankeldependency.subdivisions (int or None, optional) – Finite-grid refinement. When supplied, it replaces the stored subdivision count used by
trapezoid,simpson,gl4, andgl8.N (int or None, optional) – Ogata node count. Used only by
method='ogata'.h (float or None, optional) – Positive Ogata resolution parameter. Used only by
method='ogata'.
- Returns:
This instance after recomputing
F_q.- Return type:
- Raises:
ValueError – If
methodis unsupported or a supplied numerical parameter is invalid.ImportError – If
method='ogata'and the optionalhankeldependency is unavailable.
Notes
Method-specific parameters that are not supplied retain their current values.