We need an external file to offload array data like intensity from the archive, especially for RSM scans. This will reduce the loading time of the archive when toggling between tabs in GUI. For this, we can use .nxs file, which is an HDF5 file, to store the data and access it via HDF5 references.
[x] Generate a .nxs file based on the archive. This happens in ELNXRayDiffraction.normalize and uses pynxtools.
[x] If we include the nexus parser, the generated .nxs file will be indexed as an entry, and make a subsection in the ELNXRayDiffraction.
[ ] Use HDF5Reference as the type of the Quantity for array data: intensity, two_theta, q_parallel, q_perpendicular, q_norm, omega, phi, chi.
[ ] Explore if the plots can also be made lighted using referencing
[ ] Test for back compatibility and performance bump
We need an external file to offload array data like
intensity
from the archive, especially for RSM scans. This will reduce the loading time of the archive when toggling between tabs in GUI. For this, we can use.nxs
file, which is an HDF5 file, to store the data and access it via HDF5 references..nxs
file based on the archive. This happens inELNXRayDiffraction.normalize
and usespynxtools
..nxs
file will be indexed as an entry, and make a subsection in theELNXRayDiffraction
.HDF5Reference
as the type of the Quantity for array data: intensity, two_theta, q_parallel, q_perpendicular, q_norm, omega, phi, chi.