+
Skip to content

BCDA-APS/silx-mda

Repository files navigation

silx-mda: MDA File Integration Test

⚠️ EXPERIMENTAL/TEST REPOSITORY ⚠️

This is a test repository exploring MDA file format integration into the silx toolkit. This is NOT an official silx release and should be used for testing purposes only.

Original silx project: https://github.com/silx-kit/silx

The purpose of the original silx project is to provide a collection of Python packages to support the development of data assessment, reduction and analysis applications at synchrotron radiation facilities. silx aims to provide reading/writing tools for different file formats, data reduction routines and a set of Qt widgets to browse and visualise data.

The current version features:

  • Support of HDF5, SPEC and FabIO images file formats.

  • EXPERIMENTAL: MDA file format support (this test repository only)

  • OpenCL-based data processing: image alignment (SIFT), image processing (median filter, histogram), filtered backprojection for tomography, convolution

  • Data reduction: histogramming, fitting, median filter

  • A set of Qt widgets, including:

    • 1D and 2D visualization widgets with a set of associated tools using multiple backends (matplotlib or OpenGL)
    • OpenGL-based widgets to visualize data in 3D (scalar field with isosurface and cut plane, scatter plot)
    • a unified browser for HDF5, SPEC and image file formats supporting inspection and visualization of n-dimensional datasets.
  • a set of applications:

    • a unified viewer (silx view filename) for HDF5, SPEC and image file formats

      silxView

    • a unified converter to HDF5 format (silx convert filename)

Installation

For the official silx release (recommended for production use):

pip install silx[full]

For this test version with MDA support (experimental only):

conda env create -f environment.yml
conda activate silx-mda
pip install -e .

This will install silx in editable mode with the experimental MDA file support.

MDA File Support

This test repository includes experimental support for MDA (Multi-Dimensional Array) file format:

conda activate silx-mda
silx view scan.mda

The MDA integration provides:

  • HDF5-like interface for MDA files
  • Integration with silx viewer for visualization
  • Access to positioner and detector data

Note: This is experimental code and may not be stable or complete.

Unofficial packages for different distributions are available:

Detailed installation instructions are available in the documentation.

Documentation

The documentation of latest release and the documentation of the nightly build are available at http://www.silx.org/doc/silx/

Testing

silx features a comprehensive test-suite used in continuous integration for all major operating systems:

Github Actions Status

Please refer to the documentation on testing for details.

Examples

Some examples of sample code using silx are provided with the silx documentation.

License

This test repository is based on the original silx project, which is licensed under the MIT license. See the LICENSE and copyright files for details.

The MDA integration code in this repository is also provided under the MIT license.

Citation

silx releases can be cited via their DOI on Zenodo: zenodo DOI

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 47

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载