and
play

and http://www.silx.org/ HDF5 European Workshop for science and - PowerPoint PPT Presentation

and http://www.silx.org/ HDF5 European Workshop for science and industry, 18 th of September 2019, ESRF. silx contributors: T. Vincent; V. Valls; H. Payno; J. Kieffer; V. A. Sol; P. Paleo; D. Naudet; G. Communie; P. Knobel; M. Retegan; M.


  1. and http://www.silx.org/ HDF5 European Workshop for science and industry, 18 th of September 2019, ESRF. silx contributors: T. Vincent; V. Valls; H. Payno; J. Kieffer; V. A. Solé; P. Paleo; D. Naudet; G. Communie; P. Knobel; M. Retegan; M. Rovezzi; P. Kenter; H. Fangohr; @UUSim; V. Favre-Nicolin; F. E. Picca; C. Nemoz; W. De Nolf; @schooft; T. Coutinho; J. Kotanski; C. J. Wright; A. Campbell

  2. silx ● Initial goals: – Share maintenance of common features across Python-based applications/libraries (PyMca, pyFAI,..): ● share/reuse code, ● documented, ● tested. – Make features available for others – Provide tools to support the migration/use of HDF5

  3. silx ● Features: – I/O: ● Reading SPEC and images ● HDF5 conversion helpers – Data processing, including GPU-accelerated routines (using OpenCL): ● SIFT ● (Filtered) Back projection ● Median filter,... – Qt widgets for: ● Browsing HDF5-like data ● Visualizing and interacting with data (1D, 2D, 3D)

  4. silx ● Python package (with Cython, C, C++, OpenCL, GLSL code) ● License: MIT ● Linux, Windows, macOS ● Last version: v0.11.0: ● Install through: pip, conda, debian ● Resources: – http://www.silx.org/ – https://github.com/silx-kit/silx – Documentation: http://www.silx.org/doc/silx/latest/

  5. and

  6. Conversion to HDF5 ● Context: – ESRF legacy acquisition format: SPEC file + EDF (or other format) images – Moving towards HDF5/NeXus ● Transition period: – Data in SPEC+images format – “Future[/present]-proof” software needs to read HDF5

  7. Conversion to HDF5: Tool ● Command line tool: silx convert ● Concatenation of all SPEC files in the current directory: silx convert *.dat -o all_SPEC.h5 ● Add a list of images (supported by fabio) into an existing HDF5 file: silx convert ch09__mca_0005_0000_%d.edf -o archive.h5::/ch09__mca_0005_0000_0008 -m a --compression

  8. Conversion to HDF5: API Python package: silx.io ● File conversion functions: silx.io.convert.write_to_h5 # or convert ● Accessing SPEC and image files (using fabio) with a h5py-like API and a NeXus structure: silx.io.open(filename)

  9. silx view ● H D F 5 ( a n d o t h e r f o r m a t s ) b r o w s i n g a n d viewing ● GUI application (PyQt5/PySide2-based) ● Visualization: matplotlib and OpenGL

  10. Other HDF5/NeXus viewer NeXpy PyMca

  11. silx view ● Visualization of data as: – Array – Curve – Color-mapped image – 3D field: isosurface and color-mapped cut plane ● Support of 2D/3D complex data ● Support of nD datasets by selecting: – The kind of visualization – The slicing, i.e., viewed axes and positions along other axes ● Tools: mask, profile, curve fitting

  12. silx view: NeXus support ● NeXus-aware: – D i s p l a y @ N X _ C l a s s in browser – Leverage NXData and @default attribute to display a default plot

  13. silx view: widgets ● Widgets used by silx view are available from s i l x . g u i for reuse in other applications.

  14. Some inhouse silx-based applications

  15. Demo: silx view

  16. and Thanks for your attention! http://www.silx.org/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend