Spexwavepy is an open-source Python package dedicated to the speckle-based wavefront sensing techniques for X-ray optics.
Project description
spexwavepy
An open-source Python package for X-ray wavefront sensing using speckle-based techniques
Spexwavepy is an open-source Python package dedicated to the speckle-based wavefront sensing techniques for X-ray optics. Its name is the abbreviation of the speckle-based X-ray wavefront sensing Python package.
Features
- spexwavepy is dedicated to the speckle-based X-ray wavefront sensing techniques.
- It provides various data processing modes.
- It is written in Python and open-source.
- It uses the built-in multiprocessing module to parallelise the code.
- It has a complete Documentation for the package.
- It shares the expriment data used for the examples.
Getting spexwavepy
1. From GitHub
This is the recommended way of getting this package. Since in this way, the users will have the example code and also the compiled documentation in the form of html files.
Git clone from the GitHub repository.
git clone https://github.com/wholingfei/spexwavepy.git
cd spexwavepy
pip install -e .
Or, if you have difficulties in using pip install
due to various reasons,
make sure you have Numpy, Scipy, cv2(opencv-python) and natsort
available, you can use this package without installation as well.
2. From PyPI
pip install spexwavepy
This can install the package without the provided examples.
Documentation
There are two ways of reading the documentation of this package.
If you download the source code of this package from GitHub, you can find the local documentation in docs/build/html/ folder. Read them using your web browser. Further, you can make the html pages from make file.
make clean
and
make html
will generate the documentation in html files.
The documentation can also be found online.
The main page of the documention is host at readthedocs.org.
Data availability
All the data used in spexwavepy is shared on Zenodo, https://zenodo.org/records/10892838. Users can download the data and reproduce all the results from the example code by themselves.
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 spexwavepy-1.0.1.tar.gz
.
File metadata
- Download URL: spexwavepy-1.0.1.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81d33371f6d5265fae984e919cf595d82463481c85648ef13cf5fd3f21cc7bb8 |
|
MD5 | a255e89ba134cd0451d9968699e5538e |
|
BLAKE2b-256 | 61760b186b6e97b5c3e4ee2181832fbdb9514bb20f48f06add3037611811ff5e |
File details
Details for the file spexwavepy-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: spexwavepy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40200cd9d17ff5b4836c7e8a98515280bc39bf24815ec7559d24d112d07ff27 |
|
MD5 | bf57f09786032383fabca2c083d82eb7 |
|
BLAKE2b-256 | 3bc558b29c6c081fc8ba20792a9fddf6a936bd3c3cb99e7e1befb4c362f0a5ba |