Improve the colorized plotting further, and add a colorbar which will be useful for publishing figures now that it's not just a simple hsv lookup. Also fix a bug with nonresponsive windows when all model plots are closed, but the dataset plots are still showing.

This commit is contained in:
allevitan committed 2026-03-21 21:27:16 +01:00
1 parent f04ac9f0ec
commit 29656fd78e
6 files changed
+65 -38

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ model = cdtools.models.FancyPtycho.from_dataset(
propagation_distance=5e-3, # Propagate the initial probe guess by 5 mm
units='mm', # Set the units for the live plots
obj_view_crop=-50, # Expands the field of view in the object plot by 50 pix,
panel_plot_mode=False
)
if t.cuda.is_available():