Commit Graph
128 Commits
Author SHA1 Message Date
Abe Levitan 14114f2bd4 Add tests to confirm that that the generation of angular spectrum propagators works with AD (and fix gasp so it indeed is) 2021-08-04 22:32:58 -04:00
Abe Levitan 7421c8527c Merge branch 'polarization' of github.mit.edu:Scattering/CDTools into polarization 2021-08-04 15:40:09 -04:00
Abe Levitan 5afff73b53 Fix dataset loading so it doesn't use so much dang memory 2021-08-04 15:38:55 -04:00
Anastasiia Kutakh 1925739174 . 2021-08-03 22:54:39 -04:00
Anastasiia Kutakh 6adce3a575 . 2021-08-03 22:33:32 -04:00
Anastasiia Kutakh 8f9cefac05 . 2021-08-03 22:06:53 -04:00
Abe Levitan 3bc3622910 '.' 2021-08-03 20:24:43 -04:00
Abe Levitan 5d4fba7819 '.' 2021-08-03 19:54:18 -04:00
Abe Levitan 061b7f647a '.' 2021-08-03 19:34:08 -04:00
Anastasiia Kutakh eb64770258 . 2021-08-03 02:25:29 -04:00
Anastasiia Kutakh 9f1a5bcae9 . 2021-08-02 13:46:36 -04:00
Anastasiia Kutakh 09d172c9a3 testing polarization 2021-08-01 21:28:37 -04:00
Anastasiia Kutakh 709c3f398d . 2021-07-31 21:33:14 -04:00
Anastasiia Kutakh 026f1c2b0b . 2021-07-31 21:26:26 -04:00
Anastasiia Kutakh 070622a9e1 . 2021-07-30 00:32:23 -04:00
Anastasiia Kutakh 0bfbc98922 . 2021-07-29 14:03:57 -04:00
Anastasiia Kutakh 6924ce58fe changed polarization and polarized_fancy_ptycho interaction 2021-07-29 02:59:37 -04:00
Abe Levitan a3e9ebebf5 Some small notes in the code 2021-07-28 17:05:55 -04:00
Abe Levitan 3a68fd35b2 Add the required import statements 2021-07-28 15:38:33 -04:00
Anastasiia Kutakh 899317ae0f not tested/debugged yet 2021-07-28 06:59:18 -04:00
Anastasiia Kutakh 530a7717ac . 2021-07-28 00:40:15 -04:00
Abe Levitan e7d7323e50 Added a polarization dependent ptychography dataset class so we can save and load data! 2021-07-26 14:46:02 -04:00
Abe Levitan 53cd966c33 Update the RPI model and clean up the examples section 2021-07-06 13:58:00 -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 8f58242efe Changed basic near field propagator to use the generalized function internally, and fixed band-limiting 2021-06-18 18:06:05 -04:00
Abe Levitan e4a521656d Changed how I implement the generalized propagator and (I believe) FIX the sign problems with propagation directiongit add --all! 2021-06-18 17:41:38 -04:00
Abe Levitan c2b8f2fe1b Bring all the tools to the point where they pass the tests 2021-06-18 14:01:39 -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 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 6b7a0701a6 Update plotting functions to deal better with images that have multiple layers 2021-02-26 15:31:51 -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 043751a8b6 Speed up the multislice model 5x, but probably break lots of other models doing it, so remember to clean upgit status 2021-01-27 22:33:45 -05:00
Abe Levitan 0dec5aa9fd Intermediate state in optimization, improved the round interaction but not sinc yet 2021-01-27 20:27:31 -05:00
Abe Levitan e265c85d6b Touching in before I shred everything to improve efficiency 2021-01-27 19:27:21 -05:00
Abe Levitan a536e3bdb4 Maybe last time it didn't actually commit? 2021-01-25 13:38:38 -05:00
Abe Levitan 936b203aac Fix the issue with odd-sized probes & objs in RPI functions, still not fully tested 2020-12-28 22:09:20 -05:00
Abe Levitan 32a8a8179d Fix an issue with the test for the poisson NLL function 2020-12-28 21:45:01 -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 38345da454 Update S matrix ptychography and also update the S matrix interaction function to use a more interpretable definition of the S matrix 2020-10-30 14:52:17 -04:00
Abe Levitan aea0ff9bf8 Write a multislice and s_matrix ptychography program 2020-10-28 13:55:04 -04:00
Abe Levitan 0d484c0ac3 Fix sign error in generalized near field and associated test 2020-05-07 12:13:36 -04:00
Abe Levitan 31cc45da70 One more try to fix the off axis near field propagation 2020-05-04 16:53:50 -04:00
Abe Levitan 9771634551 Implement test for separate propagation and offset vectors 2020-04-29 20:11:03 -04:00
Abe Levitan 39cb345ccb update docs 2020-04-29 17:56:48 -04:00
Abe Levitan 19f61ab946 Add option for propagation vector separate from offset vector 2020-04-29 17:55:00 -04:00