Commit Graph
174 Commits
Author SHA1 Message Date
Abe Levitan 1b5ef2271c Buncha stuff, sorry I wasn't pushing 2021-10-26 13:11:11 -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 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 b3e45af06e Move the polarized ptycho dataset class back to loading data from the actual stored motor positions, and fix the test for the gaussian probe 2021-08-04 19:43:20 -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 daeac7e983 . 2021-08-04 09:39:49 -04:00
Anastasiia Kutakh 9f580102ba . 2021-08-04 00:09:54 -04:00
Anastasiia Kutakh 35c1643721 . 2021-08-04 00:04:29 -04:00
Anastasiia Kutakh bf4db86ad4 . 2021-08-03 23:59:23 -04:00
Anastasiia Kutakh 21036f625a . 2021-08-03 23:52:19 -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 24475dbdac '.' 2021-08-03 20:14:15 -04:00
Abe Levitan 5d4fba7819 '.' 2021-08-03 19:54:18 -04:00
Abe Levitan 2db49807d3 Merge branch 'polarization' of https://github.mit.edu/Scattering/CDTools into polarization 2021-08-03 19:34:39 -04:00
Abe Levitan 061b7f647a '.' 2021-08-03 19:34:08 -04:00
Anastasiia Kutakh 8c22c99d66 . 2021-08-03 13:57:25 -04:00
Abe Levitan 332541c951 '.' 2021-08-03 03:14:00 -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 a4d70bc375 Update polarized_fancy_ptycho.py 2021-07-28 17:14:41 -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 d067dcac9d not tested/debugged yet 2021-07-28 07:04:22 -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 2774953c2a Fix a bug in the incoherent probe mode update 2021-03-15 18:55:05 -04:00