Commit Graph
36 Commits
Author SHA1 Message Date
Abe Levitan 0d91272766 Create a base version of the models 2022-02-15 15:16:07 -05:00
Abe Levitan c66de47f95 Misc updates 2022-02-01 17:04:46 -05:00
Abe Levitan 2c8f60a11c Add a tool to account for the probe position movement on the detector to fancy_ptycho 2021-11-12 15:41:17 -05:00
Abe Levitan ebafc44acb Minor tweak to initializations 2021-08-25 17:06:30 -04:00
Abe Levitan f84e441843 Standardize the way that data is copied when models are created 2021-08-05 16:21:58 -04:00
Abe Levitan 3e6072acb7 Finally remove the scourge of from __future__ import ... and remove any lingering suggestion that this code is python 2 compatible 2021-08-05 11:08:13 -04:00
Anastasiia Kutakh 6924ce58fe changed polarization and polarized_fancy_ptycho interaction 2021-07-29 02:59:37 -04: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 76e6d5efae get tests working 2021-06-21 16:55:34 -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 188a685503 Fix a bug in multislice where it doesn't work when prevent_alias is set to True 2021-06-02 14:48:57 -04:00
Abe Levitan 2854a872ee Make a program to visualize the shot to shot fluctuations when using the unified mode model 2021-04-08 16:28:24 -04:00
Abe Levitan 2774953c2a Fix a bug in the incoherent probe mode update 2021-03-15 18:55:05 -04:00
Abe Levitan f6f8084978 Added unified modes to multislice, added units to fancy_ptycho, and added more sane normalization option (for reconstructions) to unified mode models 2021-03-11 17:01:55 -05:00
Abe Levitan d664bf351b Remove the original, worse unified mode model, and update the plotting functions to handle stacks of images, very helpful for multislice and also multi-mode models 2021-02-04 18:55:55 -05:00
Abe Levitan fdca857046 make some tweaks to how the multislice works 2021-01-30 09:22:15 -05:00
Abe Levitan a536e3bdb4 Maybe last time it didn't actually commit? 2021-01-25 13:38:38 -05:00
Abe Levitan 6b735a431f Clean up namespaces and also add a test of RPI with incoherent probes 2020-12-28 21:32:18 -05:00
Abe Levitan 4be2af8609 Finally finally finally add an RPI model. Makes it soooo much easier... 2020-12-22 14:12:51 -05:00
Abe Levitan 75011eaccf Make tweaks to the tilt correction to work with the grazing reflection data, add basic atom-modeling for electron ptychography, and update the multislice ptycho to include a bandlimit to avoid aliasing 2020-12-21 12:22:04 -05:00
Abe Levitan aea0ff9bf8 Write a multislice and s_matrix ptychography program 2020-10-28 13:55:04 -04:00
Abe Levitan a1cca0dcea misc updates 2020-01-25 19:01:03 -05:00
Abe Levitan f58f3cc2c5 misc small changes 2019-10-02 13:27:32 -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 f769806e68 Lots of small changes 2019-08-15 11:14:20 -04:00
Abe Levitan fe1f4db0c6 Consistently get Bragg/specular geometry implemented across both models/datasets and dataloaders 2019-07-01 15:02:14 -04:00
Abe Levitan 6b50e41614 Add some sensible examples 2019-06-28 16:01:53 -04:00
Abe Levitan a2a07055c4 Add sim-to-dataset capability 2019-06-27 17:26:36 -04:00
Abe Levitan c437f95a8e Loveplotting! 2019-06-26 13:25:54 -04:00
Abe Levitan 8dc997ac4c Change the way plots are defined for inspect in preparation for adding liveplotting 2019-06-26 12:24:13 -04:00
Abe Levitan a09cd4b39e Add ability to load/use Bragg geometry ptycho data, also add a 1D convolve to try with the terrible data from CSX 2019-05-22 20:20:43 -04:00
Abe Levitan 2a2b6ee960 Add tool to restrict object support, plot a nanomap, and include mask on SHARP-style initialization 2019-05-22 13:00:52 -04:00
Abe Levitan 22899288fc Add probe propagation with initialization as a base feature to fancy_ptycho, and fix the test for orthogonalize_probes 2019-05-03 12:30:53 -04:00
Abe Levitan 26de79ca92 Include ability to read background from a .cxi file and include it in SHARP-style initialization 2019-04-25 16:06:59 -04:00
Abe Levitan d0a56c2d99 Adding catch-all plotting tools and saving tools to models 2019-04-25 15:46:36 -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