ewokstomo.tasks.online.reconstruct_slice.OnlineReconstructSlice#
- class ewokstomo.tasks.online.reconstruct_slice.OnlineReconstructSlice(inputs=None, varinfo=None, node_id=None, node_attrs=None, execinfo=None, profile_directory=None)[source]#
Bases:
Task(ESRF-only) Perform real-time tomography reconstruction on streaming data.
This task connects to a live scan stream and performs incremental reconstruction by processing projections in batches. It includes flat field correction, phase retrieval, and FBP reconstruction.
The reconstruction is performed on a single slice (middle by default) to minimize computational cost while providing real-time feedback.
- Parameters:
- STREAM_TIMEOUT = 5#
- WAITING_INTERVAL = 1#