Commit Graph
140 Commits
Author SHA1 Message Date
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
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 cea860bdf9 Fix an issue with unified_mode_ptycho not working in model.compare, and fix colorbars for model.compare 2021-02-05 12:30:29 -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 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 3acd1ece3c Make it so it doesn't require a crazy amount of memory 2021-01-26 22:46:15 -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
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 fbbecbd04c First work on the off-axis propagator 2020-04-23 14:32:19 -04:00
Abe Levitan d8486306f7 Fix a bug with oversampling in the measurement functions 2020-02-11 15:20:55 -05:00
Abe Levitan 5cac96ff24 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2020-02-11 15:00:48 -05:00
Abe Levitan 7cbc3f2c53 Add a TITAN STEM converter and add units to the inspect function for fancy_ptycho 2020-02-11 15:00:42 -05:00
David Rower 8d89a86445 Fixing strings to avoid invalid escape sequence warning 2020-02-03 12:00:56 -05:00
Abe Levitan 8d589eef86 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2020-01-25 19:01:11 -05:00
Abe Levitan a1cca0dcea misc updates 2020-01-25 19:01:03 -05:00
David Rower 7a243842b9 Fixing wrong theta convention in converter; fixing simple_ptycho bug in dictionary syntax 2020-01-23 17:20:25 -05:00