Hankel Transformations using method of Ogata 2005
Perform simple and accurate Hankel transformations using the method of Ogata 2005.
Hankel transforms and integrals are commonplace in any area in which Fourier Transforms are required over fields that are radially symmetric (see Wikipedia for a thorough description). They involve integrating an arbitrary function multiplied by a Bessel function of arbitrary order (of the first kind). Typical integration schemes often fail because of the highly oscillatory nature of the transform. Ogata’s quadrature method used in this package provides a fast and accurate way of performing the integration based on locating the zeros of the Bessel function.
- Accurate and fast solutions to many Hankel integrals
- Easy to use and re-use
- Arbitrary order transforms
- Built-in support for radially symmetric Fourier Transforms
- Thoroughly tested.
- Python 2 and 3 compatible.
Either clone the repository and install locally:
$ git clone https://github.com/steven-murray/hankel.git $ cd hankel/ $ pip install -U .
Or install from PyPI:
$ pip install hankel
For instructions on testing hankel or any other development- or contribution-related issues, see CONTRIBUTING.rst.
Based on the algorithm provided in
H. Ogata, A Numerical Integration Formula Based on the Bessel Functions, Publications of the Research Institute for Mathematical Sciences, vol. 41, no. 4, pp. 949-970, 2005. DOI: 10.2977/prims/1145474602
Also draws inspiration from
Fast Edge-corrected Measurement of the Two-Point Correlation Function and the Power Spectrum Szapudi, Istvan; Pan, Jun; Prunet, Simon; Budavari, Tamas (2005) The Astrophysical Journal vol. 631 (1) DOI: 10.1086/496971
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|hankel-0.3.9-py3-none-any.whl (18.2 kB) Copy SHA256 hash SHA256||Wheel||py3|
|hankel-0.3.9.tar.gz (55.1 kB) Copy SHA256 hash SHA256||Source||None|