Reader

The reader is designed to replay already acquired data from any detector. It reads frames from files.

The frames are prefetched in memory before the acquisition is started. This feature allows to simulate high frame rates detectors.

Mulitple-receivers configuration are also supported.

.. warning:: The HDF5 compressiong filter plugin need to be properly installed. For instance, you might need to mamba install hdf5-external-filter-plugins-bitshuffle

Parameters

‘base_path’: ‘/tmp/demo_resources9v6yj984/inhouse/id002507/id00/20250701/RAW_DATA/sample/sample_0001/scan0001’, ‘filename_format’: ‘{filename_prefix}{filename_rank}{file_number:05d}{filename_suffix}’, ‘filename_prefix’: ‘lima2_simulator_frame’, ‘filename_rank’: 0, ‘filename_suffix’: ‘.h5’, ‘start_number’: 0, ‘nb_frames_per_file’: 10, ‘frame_slice’: {‘start’: 0, ‘count’: 0, ‘stride’: 1}, ‘file_type’: ‘nexus’, ‘dataset_path’: ‘/entry_0000/measurement/data’, ‘nb_prefetch_frames’: 10