blissoda.tomo.flint_tomo_imshow.SingleSliceImshow#
- class blissoda.tomo.flint_tomo_imshow.SingleSliceImshow(history=1)[source]#
Bases:
BasePlotterManage a Flint window showing the most recent reconstructed slice with enhanced controls, using the flint DataPlot–based ImageView.
- Parameters:
history (
int)
- TITLE = 'Last Reconstructed Slice'#
- handle_workflow_result()#
- kill_tasks()#
Kill all tasks.
- Return type:
int
- monitor_and_display_slice(output_path)[source]#
Start monitoring the slice output directory and display the first reconstructed slice as soon as an HDF5 file becomes available.
- Parameters:
output_path (
str)- Return type:
None
- property number_of_scans#
Maximum number of scans to be plotted
- purge_tasks()#
Remove references to tasks that have finished.
- Return type:
int
- replot(**retry_options)#
- Return type:
None
- reset_flint()#
- Return type:
None
- set_image(image)[source]#
Display a new image with physical axis limits based on pixel size and image center.
- Parameters:
image (
ndarray)- Return type:
None
- wait_tasks(timeout=10)#
Wait for all plot tasks to be finished.
- Parameters:
timeout (
int)- Return type:
int