Commit Graph
11 Commits
Author SHA1 Message Date
allevitan 4172a9a11a A few small changes to revert unimportant edits and fix linting issues 2026-03-24 19:34:38 +01:00
levita_a 4201b41573 Made more adjustments to the plotting system to avoid using constained_layout, which was causing hangups during live plotting and didn't look as nice 2026-03-24 09:13:51 +01:00
allevitan 29656fd78e 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. 2026-03-21 21:27:16 +01:00
allevitan bef907c032 Added a minimum plotting interval to model.inspect(dataset) to make it easier to not plot so much without manual intervention 2026-03-20 20:01:40 +01:00
levita_a f35141dcc8 Check that all the models work (all but Multislice2DPtycho, which was already broken, and make necessary tweaks 2026-03-20 19:39:47 +01:00
allevitanandClaude Sonnet 4.6 f4260837bc Add title option to plot_image and wrappers; misc fixes
- Add title parameter to plot_image, plot_real, plot_imag, plot_amplitude,
  plot_phase, and plot_colorized
- Various fixes to base.py and fancy_ptycho.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:20:52 +01:00
allevitanandClaude Sonnet 4.6 dd744a00a4 Improve plotting infrastructure and fix various bugs
- Switch panel plots to use subfigures with constrained_layout for better layout management
- Add plot_loss_history method to CDIModel base class
- Fix matplotlib compatibility for older versions (interactive backend detection)
- Make CUDA usage conditional in examples
- Add panel_plot_mode and plot_level params to FancyPtycho constructor
- Default plot_level filtering to 1 instead of 0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 15:33:49 +01:00
levita_a 8328b852d3 Update the docs to include the reconstructors class and discuss their use in the examples 2025-10-16 14:43:04 +02:00
levita_a 3c8de5dc19 Update the example codes 2025-10-16 14:16:12 +02:00
levita_a 7b2509cfe1 remove useless old examples, and update the examples and docs to be useful for the current version 2024-02-26 17:56:19 +01:00
levita_a 46b00807c8 Fix a bug that I introduced in fancy_ptycho's oversampling, and also update some example scripts 2024-02-26 13:44:46 +01:00