33 Commits
Author SHA1 Message Date
allevitan 45949534f8 Remove the datset arg from all remaining examples of model.inspect() in the example code 2026-06-16 14:24:18 +02:00
allevitan b9dcb03a93 Remove the need to use dataset for model.inspect() and model.save_results(), and update the examples accordingly. Docs and ipython notebooks not yet updated 2026-04-13 17:10:58 +02:00
allevitan 4172a9a11a A few small changes to revert unimportant edits and fix linting issues 2026-03-24 19:34:38 +01:00
allevitan 25c7b66c7c Do a final review of all the examples to ensure they work and are well structured 2026-03-24 11:10:23 +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
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 44fe36d24f Kill a bunch of bugs and make the flow more sensible by hand 2026-03-20 11:09:13 +01: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
Abe Levitan e8023703a0 Start documenting the models, and change the default FOV on fancy_ptycho reconstruction inspections 2023-10-17 15:38:48 +02:00
Abe Levitan a260168d9d Honestly I don't know, I must have forgotten to commit something 2023-01-10 16:30:35 -08:00
abe e13b519e22 some horrible state but I need to stop developing on perlmutter 2022-10-17 16:32:59 -07:00
abe cb954a6067 Fix the annoying warning printing from interactions and get a minimum usable script going for simpleptycho and distributeddataparallel 2022-10-16 17:06:44 -07:00
Abe Levitan 1a34aaef60 Start making changes to enable multi-GPU, beginning with simple_ptycho 2022-10-16 12:01:55 -07:00
Abe Levitan 883ac0175a Changed module name no lowercase because that's really how it should be 2022-06-08 12:52:33 -07:00
Abe Levitan 8ddcc7683f Start cleaning up the repo and tidying up the example scripts 2021-06-28 11:14:41 -04:00
Abe Levitan a3765e9097 remove all reference to cmath, get code and tests to the point where they run at least. 2021-06-17 16:47:24 -04:00
Abe Levitan a536e3bdb4 Maybe last time it didn't actually commit? 2021-01-25 13:38:38 -05:00
Abe Levitan 120e23ef15 Write the model and dataset tutorials, update the dependencies, and various small bug fixes 2019-10-04 16:53:22 -04:00
Abe Levitan 40998908f1 refactor datasets, wrote more docs, added one more test dataset 2019-09-09 14:16:42 -04:00
Abe Levitan 99d02f95cf Finish fleshing out the examples 2019-09-04 18:23:34 -04:00
Abe Levitan e80bf05f25 Further improve docs layout and add unfinished ptycho models to repo 2019-09-04 16:27:55 -04:00
Abe Levitan de186592cb Update the docstrings on all the tools files and start laying out the docs for real 2019-09-03 18:49:45 -04:00
Abe Levitan 6b50e41614 Add some sensible examples 2019-06-28 16:01:53 -04:00
Maddie Cain 4896d7354a fixed ePIE bug and shortened inspect function 2019-05-12 22:58:37 -04:00
Abe Levitan d0a56c2d99 Adding catch-all plotting tools and saving tools to models 2019-04-25 15:46:36 -04:00
Maddie Cain 84ac2cc058 added ePIE 2019-04-24 12:26:32 -04:00
Maddie Cain 6a670a82af untested ptychography work 2019-04-24 09:06:50 -04:00
Abe Levitan bf8dbe086a Add the frantic work over the past few weeks, next challenge is to organize and test it 2019-04-23 14:50:16 -04:00
Maddie Cain 2a717d9133 fixed bug in centroid and began adding to simple_ptycho 2019-04-18 01:01:37 -04:00
Abe Levitan 91f11643e9 Make some tweaks to the simple ptycho model 2019-04-10 10:25:05 -04:00
Abe Levitan 63c55582ec First pass at models, including the model for classic Ptychography 2019-04-05 16:41:21 -04:00