Open magnunor opened 6 years ago
I have been tracking this, the Python HDF5 module is tougher to package with Tomviz than expected, and it the primary blocker for using a Python library to support NeXus. I would like to get support for the format into Tomviz.
There are binary wheels for h5py available if that helps, and the nexusformat package only depends on numpy and h5py as far as I can see. Otherwise the question would be: what can be done to ease the packaging?
Maybe the NeXus guys can also help with that? Generally the process of getting nexus format support into a new project should be made as painless as possible, of course, so knowing your pain points would help!
cc @uellue
We already have SciPy and NumPy in the Tomviz package for all three platforms, and we recently added Python based readers and writers. The HDF5 library is packaged, and used from C++. It is pulling HDF5 out into our top-level packaging code, we really need to have the same HDF5 library from the C++ and Python side available with h5py.
we really need to have the same HDF5 library from the C++ and Python side available with h5py.
So this would include:
NeXus is a file format based on HDF5 for neutron, x-ray, muon science, and a definition for scanning transmission electron microscopy (STEM) is in the works: https://github.com/LiberTEM/LiberTEM/issues/15
A python library for interacting with the NeXus file format already exist, so it shouldn't be too hard to add a reader: https://github.com/nexpy/nexusformat
The initial STEM definition is for pixelated STEM, so is maybe not that applicable for tomviz, but extending the definition to tomography is likely to happen (@uellue might have some input on this).