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:
reading HDF5 file format (with support of SPEC file format and FabIO images)
histogramming
fitting
1D and 2D visualization widgets using multiple backends (matplotlib or OpenGL)
an OpenGL-based widget to display 3D scalar field with isosurface and cutting plane
an image plot widget with a set of associated tools
a unified browser for HDF5, SPEC and image file formats supporting inspection and visualization of n-dimensional datasets.
a unified viewer (silx view filename) for HDF5, SPEC and image file formats
a unified converter to HDF5 format (silx convert filename)
median filters on images (C and OpenCL implementations)
image alignement (sift - OpenCL implementation)
filtered backprojection and forward projection for tomography
Installation
To install silx, run:
pip install silx
Or with Anaconda on Linux and MacOS:
conda install silx -c conda-forge
To install silx locally, run:
pip install silx --user
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
Beside this, we provide a certain number of wheels (pre-compiled binary packages) to be installed onto a pre-existing Python installation:
On Windows, binary wheels are available for Python 2.7, 3.5 and 3.6.
On MacOS, binary wheels are available for Python 2.7, 3.5 and 3.6.
On Linux, manylinux1 binary wheels are available for Python 2.7, 3.4, 3.5 and 3.6.
Those builds are made from “up-date” systems at the time of the release, i.e. they use the latest stable version of numpy (and cython). Hence your system should use a fairly recent version of numpy to be compatible with silx. This can be achieved simply by:
pip install numpy --upgrade
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:
Parallel algorithms depend on:
The console widgets depend on:
Supported platforms: Linux, Windows, Mac OS X.
Documentation
Documentation of latest release is available at http://www.silx.org/doc/silx/latest/
Documentation of previous releases and 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 of sample code using silx are provided with the silx documentation.
License
The source code of silx is licensed under the MIT license. See the LICENSE and copyright files for details.
Citation
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.6.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c913f09903773b3918d9cfd2f61643b9061fee3e3b6f32fad58488a64e1db0 |
|
MD5 | 84c2a8c3ef07e601a6b85fdba8571b0a |
|
BLAKE2b-256 | 2b5b3f82aedf2fcc9af4c7b6f84a7b306f0b67c526a7ec587490617ae7504efc |
Hashes for silx-0.6.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084ab1cd880b7a1c0ea3bae872551dfe565ba5cd7d750c60545772bdcc13d681 |
|
MD5 | e770474148e6b381061a61f295f4bbc8 |
|
BLAKE2b-256 | 3c0b38965b61479b7bc9db0636c3ea442abe55a5b193c5e35239ad60f857c020 |
Hashes for silx-0.6.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283316d51a94aa7f3a5038f7369fa90ee3b575665c3549cc7e558567c94a8ba9 |
|
MD5 | d4d763088f89d1ccab5273d93d75fd55 |
|
BLAKE2b-256 | e316dc2115d5e882039890ee6405f81c8f17c98923de062aa9c2cda80e43e45a |
Hashes for silx-0.6.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1fdfbacf49b71aa9d525e940385da5298a9f4fe828d8d1720c596749473604d |
|
MD5 | 279d4550cb520682c8a65dc979670aa2 |
|
BLAKE2b-256 | 53a966172ac9d286048219bbc97fd4d845d9678194a2b80d653918953913cea5 |
Hashes for silx-0.6.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cc811817a99fbd740820c7b066214bf43cdea28c70f8071a86a09fc468d7297 |
|
MD5 | 77ab89217fd2f74eb211c11495643d7e |
|
BLAKE2b-256 | c3b45a0e7f424c791b80ca1a2256d48b9526f5393e2436b0ffd4107662abf66c |
Hashes for silx-0.6.1-cp35-cp35m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a93b2e6edf21f605941bcd6b38ca6d8d4ab29c70deeb675645a60b66627e92 |
|
MD5 | c138fe72dad5a5c969aa82e4f83bf26e |
|
BLAKE2b-256 | a2fb8e4045a7921d5ed025f6e8e30eeafcc42adf758c2f1799af30961dd4171c |
Hashes for silx-0.6.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1158a3394a553199f1b26022d187b5f89e719eebdeed0068699b474a2fc0848 |
|
MD5 | fcb1397e295790835342e7c6c4b120f3 |
|
BLAKE2b-256 | ac754a755b458c011a76a5aced750e0742a38b1e5d3332f7ef168a0818c7e2aa |
Hashes for silx-0.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3f3df9ad13041310e3d8e895cd7aca8ff6f7b6b81025eea81cfad581edaa87 |
|
MD5 | 9e10be0dfcad222d55b6c8f529b6b0cb |
|
BLAKE2b-256 | 6414f6d5ec8d204a54c093706d909de070679d93637417c8016993118001a911 |
Hashes for silx-0.6.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b7175ee771ae2c862c2430b8c3a0a13644e897b2231f1c36b116745cdd90208 |
|
MD5 | d771ca379b219dd60752fb5b30b813df |
|
BLAKE2b-256 | 0bbacc65fff9e5dbc7a20d00b14f0eff8e40f2c8518a8d0286ec76c5de1a9e36 |
Hashes for silx-0.6.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe79cc6d0413104c808e659fd3e58521d6f151963d0c802f29ad69a6a8f533a |
|
MD5 | 7f9d1ff58618c7e6d562cffaaadb7a77 |
|
BLAKE2b-256 | 974c0b89946c838921332bf5f3640257c269de5313ad592e9bbb628841b56f66 |
Hashes for silx-0.6.1-cp27-cp27m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd65f8b5866747b7a34727e56cb3be51e850e545860313f5220a6648da817a7c |
|
MD5 | 904c68f3d1bf493cf4a18d79351e5110 |
|
BLAKE2b-256 | c130d2d89aa9dacd01df05b3bb5b0186e5397e917094fd0de782dfc89293cb76 |