Commit Graph
21 Commits
Author SHA1 Message Date
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 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 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 a5b2337293 Further develop the 2D Bragg ptychography code and edit some tests to work with a newer version of h5py 2020-04-29 13:50:13 -04:00
Abe Levitan d586ed914e Debug and test the off-axis propagation code 2020-04-24 14:16:44 -04:00
Abe Levitan 071eebd37b Finish first pass of off-axis propagation, still needs to be tested off-axis 2020-04-23 20:37:13 -04:00
Abe Levitan ad1a2e77b7 Update the exit_wave_geometry to handle paralellogram detectors 2020-04-23 17:39:16 -04:00
Abe Levitan d4576d1939 Write up the tests and fix a bug in the probe orthogonalization 2019-04-24 15:29:07 -04:00
Abe Levitan 63c55582ec First pass at models, including the model for classic Ptychography 2019-04-05 16:41:21 -04:00
Abe Levitan 31252986d8 Change propagation to preserve norm despite the extra cost, and generalize the gaussian initializer 2019-04-04 15:28:31 -04:00
Abe Levitan 6a1a345183 This file slipped away from me last time 2019-03-28 19:51:40 -04:00
Abe Levitan 1e43c095d1 Fix some bugs in the propagators and initializers, write the tests for the angular spectrum propagator 2019-03-28 19:30:40 -04:00
Abe Levitan bec571e0c4 Add the first two interactions for ptychography 2019-03-28 17:18:40 -04:00
Maddie Cain b2a826b197 add projectors, propagators, and initializers 2019-03-27 01:34:40 -04:00