Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spexwavepy-1.0.1.tar.gz (31.3 kB view hashes)

Uploaded Source

Built Distribution

spexwavepy-1.0.1-py3-none-any.whl (31.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page