Commit Graph
140 Commits
Author SHA1 Message Date
Abe Levitan ebafc44acb Minor tweak to initializations 2021-08-25 17:06:30 -04:00
Anastasiia Kutakh 26148f80cb . 2021-08-15 23:59:08 -04:00
Abe Levitan 998245ae4a '.' 2021-08-13 14:17:12 -04:00
Abe Levitan 45f01264c0 Merge branch 'polarization' of github.mit.edu:Scattering/CDTools into polarization 2021-08-11 14:23:41 -04:00
Abe Levitan 096ec4ff20 Add analysis tools for comparing incoherent wavefields 2021-08-11 14:23:38 -04:00
Anastasiia Kutakh 7daabf8409 . 2021-08-10 15:29:33 -04:00
Anastasiia Kutakh 3db2d0cdf6 . 2021-08-05 22:55:43 -04:00
Anastasiia Kutakh 894a5c697e modified polarization and polarization tests 2021-08-05 18:47:46 -04:00
Abe Levitan faceb139d3 Add a function to save out the currently open plots 2021-08-05 14:39:53 -04:00
Abe Levitan 03fb541f88 Edits to the polarization function 2021-08-05 13:17:25 -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
Abe Levitan 960740f39f Go over Anastasia's polarization tests and clean up repo a bit 2021-08-05 10:44:32 -04:00
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