Software library for X-Ray data analysis
Project description
The silx project aims at providing a collection of Python packages to support the development of data assessment, reduction and analysis applications at synchrotron radiation facilities. It aims at providing reading/writing different file formats, data reduction routines and a set of Qt widgets to browse and visualize data.
The current version provides :
histogramming
fitting
1D and 2D visualization using multiple backends (matplotlib or OpenGL)
image plot widget with a set of associated tools (See changelog file).
Unified browser for HDF5, SPEC and image file formats supporting inspection and visualization of n-dimensional datasets.
Unified viewer (silx view filename) for HDF5, SPEC and image file formats
OpenGL-based widget to display 3D scalar field with isosurface and cutting plane.
image alignement (sift - OpenCL implementation)
Installation
To install silx, run:
pip install silx
To install silx locally, run:
pip install silx --user
On Linux, to install silx with pip, you must install numpy first. Unofficial packages for different distributions are available :
Unofficial Debian8 packages are available at http://www.silx.org/pub/debian/
CentOS 7 rpm packages are provided by Max IV at the following url: http://pubrepo.maxiv.lu.se/rpm/el7/x86_64/
Fedora 23 rpm packages are provided by Max IV at http://pubrepo.maxiv.lu.se/rpm/fc23/x86_64/
Arch Linux (AUR) packages are also available: https://aur.archlinux.org/packages/python-silx
On Windows, pre-compiled binaries (aka Python wheels) are available for Python 2.7, 3.5 and 3.6.
On Mac OS X, pre-compiled binaries (aka Python wheels) are available for Python 2.7.
The latest development version can be obtained from the git repository:
git clone https://github.com/silx-kit/silx.git cd silx pip install . [--user]
Dependencies
The GUI widgets of the silx package depend on the following extra packages:
A Qt binding: PyQt5, PyQt4 (using API version 2) or PySide
matplotlib for the silx.gui.plot package
PyOpenGL for the silx.gui.plot3d package
Most modules and functions dealing with HDF5 input/output depend on the following extra package: * h5py
Supported platforms: Linux, Windows, Mac OS X.
Documentation
Documentation of releases is available at https://pythonhosted.org/silx/
Latest documentation (nightly build) is available at http://www.silx.org/doc/silx/
To build the documentation from the source (requires Sphinx), run:
python setup.py build build_doc
Testing
To run the tests from the python interpreter, run:
>>> import silx.test >>> silx.test.run_tests()
To run the tests, from the source directory, run:
python run_tests.py
Examples
Some examples are available in the source code repository. For example:
python examples/{exampleName.py}
License
The source code of silx is licensed under the MIT and LGPL licenses. See the copyright file for details.
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 Distributions
Hashes for silx-0.5.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c7835012d9b3ed73fce2eaf276da12a525a8e7f143d093536b98d15eb985bb |
|
MD5 | 3360e4343398786d592937708397b599 |
|
BLAKE2b-256 | 32652010636d20327817f08b47839b5093d2ec1aff62fc38e9e489e98c3fcea8 |
Hashes for silx-0.5.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77623a01e6eaaa2634deaaf4d9f9866f8e3ad5c42fa8b78ef2da4b359a601709 |
|
MD5 | 8991292e347ffdc84736f3e2366a8d78 |
|
BLAKE2b-256 | 1a2774ed80d42c9f4362cd3846067f253dc2ecccca8869230d6a6d68a457e0f9 |
Hashes for silx-0.5.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d582692f49a0c2be7121a5f2bcf1a3bc24383a18ce531092b2e4ea601cd77a7a |
|
MD5 | d993040c78fd17a0e3f9ad7ead465ea7 |
|
BLAKE2b-256 | 22931e8b262830c2950c98133e1169a1fafc22283479969ab0464f385b7f7803 |
Hashes for silx-0.5.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdab4c190fc10cc1093fa2b5874f9cfc5dca255af8ceadfa6d3df0f78dc7ebcc |
|
MD5 | 16c92045c380a06ae0695d9de68e436f |
|
BLAKE2b-256 | 9c3dabf39c292ebd791c9c24e9c50d6af47230d2ae0f685c6ea6f38457a9a981 |
Hashes for silx-0.5.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e9f299bb45aafd35393ff39084e3ba9a8a387c68dc87d6fdaef1baa46e5c15d |
|
MD5 | 3e3be9e0ec812528e328e0c5bb68c501 |
|
BLAKE2b-256 | 7668b90c27845da52cbb91d4aac5290497165202e804a16dba32603c1a2a6b28 |
Hashes for silx-0.5.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78dbc4c3706635699d59628b24bbb28a949ac0c37aba62adba82a1c0bba0d485 |
|
MD5 | b45ccf8e5a7b535af53c57851761df90 |
|
BLAKE2b-256 | 386cccec0c44bf59bade9559c08b4d72ee2a25b30124d39eab5922ad954e805b |
Hashes for silx-0.5.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0b5d7e1a692e0d24f08d00643cf741014470265def41fd2981086bdc7cc0ae |
|
MD5 | c2931f063ded51b6f7d0c3b7c6b4aeaa |
|
BLAKE2b-256 | 7e7ab7222050f342182cba9d3385e38395576e8a734344d0fb5e58f4a464fbd5 |
Hashes for silx-0.5.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98c6311631e52e8d42805315ca566140bcf19fa6d1cc219357b7c74eab9ec52 |
|
MD5 | f2bcb32ff47c87c6a636f70fea2f1914 |
|
BLAKE2b-256 | 7368d599311262d0c8bf1b8445d92e872c0c80d105517a0ff85f08f0b07570f3 |
Hashes for silx-0.5.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab62773ee2acef06d1cbe305a47eddc257e9e4c7e58f41852260d84e45ee4d15 |
|
MD5 | eadecb6af60551d945d03133b6f17946 |
|
BLAKE2b-256 | d08a1c97984d4f16514ec9d40dabeca2fe834113d69f049b0e2f2e3d2cdbcfa2 |
Hashes for silx-0.5.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ab38b88ae9d323bde6fa56fbd28be18c54202ae4be67a81b16c727245c01f42 |
|
MD5 | 3bab1bfc40933f0bf718f3997812367d |
|
BLAKE2b-256 | 887035685bb2195859c98e629317a16b40b5f4f4d65ff07b23852cf1ab1f15d9 |
Hashes for silx-0.5.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 608339980a8d4eeb2ad317ef4e63312d36cc8e6cb4b5ffddadfed51507d9801c |
|
MD5 | 3bd05bc7131be1bffed6371c9e3d3ae3 |
|
BLAKE2b-256 | 932894a3bcd695fc1cd46fec05d7b845863879d5c4fdacdc59805afd0916dd25 |