-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently, the live reconstruction results are saved as npy files into disk and loaded by the recon viewer for display.
holoscan-framework/Holoptycho/ptycho_holo.py
Lines 239 to 243 in a7ca3ec
| np.save('/data/users/Holoscan/prb_live.npy',results[0]) | |
| np.save('/data/users/Holoscan/obj_live.npy',results[1]) | |
| with open('/data/users/Holoscan/iteration','w') as f: | |
| f.write('%d\n'%results[2]) | |
| scan_num = results[3] # For future use |
https://github.com/NSLS2/ptycho_gui/blob/78f1e6a46b9e8ccdd91182ccf6a0a8c2132cef66/src/nsls2ptycho/recon_viewer.py#L20-L21
These should be replaced with using tiled. Only catch here is that the live result files will be repeatedly overwritten when new data comes. We want to keep only the last generated result for each scan_num.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels