ertkit.ves.hankel_j0#
- ertkit.ves.hankel_j0(kernel, r)#
Zeroth-order Hankel transform by digital linear filtering.
Approximates
\[F(r) = \int_0^\infty f(\lambda) J_0(\lambda r) \, d\lambda \approx \frac{1}{r} \sum_j f(b_j / r) \, w_j,\]with the base \(b_j\) and weights \(w_j\) of the 120-point filter of Guptasarma and Singh (1997).
- Parameters:
- kernelcallable
The function \(f\). It receives an array of \(\lambda\) values of shape
(len(r), 120)and must return an array of the same shape.- rarray_like
Positive distances in meters, one-dimensional.
- Returns:
- ndarray
\(F(r)\), one value per distance.
- Raises:
- ValueError
If a distance is not positive and finite.
Notes
Filter values from libdlf (emsig/libdlf), licensed CC BY 4.0.