blissdata: API to read images during scan
The ebs-tomo project provides helper to read images during BLISS scan.
It would be nice to define a blissdata API for such use case, to hide the implementation details.
This way, the implementation could be changed without breaking our fragile helper, be tested, and be adapted to different BLISS versions.
Actual implementation detail
The only way we have found for now is to:
- Read images from hdf5 Lima files
- because we can't read image from the detector, because in such way image can be lost, and there is no clue the right image frame is read anyway
- because the nexus master do not provide the images
- Lima have to be setup to store images in multiple files
- because Lima do not flush the HDF5 structure, and never release the file
- BTW, Lima guys are ok to setup the HDF5 file in another way, if needed (@debionne), but somebody have to take the lead.
See https://gitlab.esrf.fr/tomo/ebs-tomo/-/blob/master/tomo/helpers/tiling_reader.py for the implementation
You can contact @tvincent for more details.
Edited by Valentin Valls