hankel.hankel.SymmetricFourierTransform.integrate

SymmetricFourierTransform.integrate(f, ret_err=True, ret_cumsum=False)

Do the Hankel-type integral of the function f.

This is not the Hankel transform, but rather the simplified integral, \(\int_0^\infty f(x) J_\nu(x) dx\) , equivalent to the transform of \(f(r)/r\) at k=1.

Parameters:

f : callable

A function of one variable, representing \(f(x)\)

ret_err : boolean, optional, default = True

Whether to return the estimated error

ret_cumsum : boolean, optional, default = False

Whether to return the cumulative sum