pyhank - Quasi-discrete Hankel transforms for python
Project description
PyHank - Quasi-Discrete Hankel Transforms for Python
Edward Rogers
PyHank is a python implementation of the quasi-discrete Hankel transform as developed by Manuel Guizar-Sicairos and Julio C. Guitierrez-Vega
"Computation of quasi-discrete Hankel transforms of the integer order for propagating optical wave fields" Manuel Guizar-Sicairos and Julio C. Guitierrez-Vega J. Opt. Soc. Am. A 21 (1) 53-58 (2004)
It was inspired by Adam Wyatt's Matlab version which I used for many years, before moving to Python and needing my own implementation. It aims to simplify the interface (using Python's object-oriented approach).
It has both a simple single-shot interface, and a more advanced approach that speeds up computation significantly if making multiple transforms on the same grid.
Contributions and comments are welcome using Github at: http://github.com/etfrogers/pyhank
Installation
Installation can simply be done from pip. PyHank requires numpy and scipy, but these will be installed by pip if necessary.
pip install pyhank
For building the docs, the following are required:
- sphinx-gallery >= 0.7
- matplotlib >= 3.2
For development, and running the tests, the following are recommended:
- pytest ~= 5.4.3
- flake8 ~= 3.8.3
- pytest-flake8 ~= 1.0.6
- pytest-cov ~= 2.10.0
Bugs & Contribution
Please use Github to report bugs, feature requests and submit your code: http://github.com/etfrogers/pyhank
Documentation
The documentation for PyHank can be found at Read the docs
Usage
See the Usage examples at ReadTheDocs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyhank-1.0.0.tar.gz
.
File metadata
- Download URL: pyhank-1.0.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2d67e174b277978c9b0cf9aa59209a133b843c12cec2c4a8e7f5687a03745d8 |
|
MD5 | 10ef545a72781db3c298c61d26b5c0cb |
|
BLAKE2b-256 | 790aaea8f014b72529d323d3dc177ad717f304bc7f0f82b37a708a7c22a13a99 |
File details
Details for the file pyhank-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyhank-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94c42c5a9fe243d4ec8121be6add5536d877a8e394b4b6264ff367aae469a8f |
|
MD5 | b39778fcd522510acb5e409b1dabe3e6 |
|
BLAKE2b-256 | 265cb2d6ff1328781560e5a18d86589e88b0a1596a41a2073ff76b465d4edfd5 |