Skip to main content

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)

  • 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 :

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:

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

  • Travis CI status: Travis Status

  • Appveyor CI status: Appveyor Status

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


Download files

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

Source Distribution

silx-0.5.0.tar.gz (7.2 MB view hashes)

Uploaded Source

Built Distributions

silx-0.5.0-cp36-cp36m-win_amd64.whl (2.5 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

silx-0.5.0-cp36-cp36m-manylinux1_x86_64.whl (5.4 MB view hashes)

Uploaded CPython 3.6m

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 (4.0 MB view hashes)

Uploaded CPython 3.6m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

silx-0.5.0-cp35-cp35m-win_amd64.whl (2.5 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

silx-0.5.0-cp35-cp35m-manylinux1_x86_64.whl (6.1 MB view hashes)

Uploaded CPython 3.5m

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 (4.0 MB view hashes)

Uploaded CPython 3.5m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

silx-0.5.0-cp34-cp34m-manylinux1_x86_64.whl (6.1 MB view hashes)

Uploaded CPython 3.4m

silx-0.5.0-cp27-cp27mu-manylinux1_x86_64.whl (5.8 MB view hashes)

Uploaded CPython 2.7mu

silx-0.5.0-cp27-cp27m-win_amd64.whl (2.5 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

silx-0.5.0-cp27-cp27m-manylinux1_x86_64.whl (5.8 MB view hashes)

Uploaded CPython 2.7m

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 (4.0 MB view hashes)

Uploaded CPython 2.7m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

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