Commit Graph
53 Commits
Author SHA1 Message Date
Abe Levitan dd30f58d2d Start to make the lab bragg ptycho code sane, and fix the bug with probe bases when using probe fourier crop 2024-02-11 17:32:41 -05:00
Abe Levitan 44a6fac37a Add a tool to split ptycho datasets and a context manager to save .mat files, and slightly adjust the save format 2024-02-11 10:29:07 -05:00
levita_a a9e0157707 Get tests to past and removeopt_for_fft 2023-12-01 15:58:18 +01:00
Abe Levitan e8023703a0 Start documenting the models, and change the default FOV on fancy_ptycho reconstruction inspections 2023-10-17 15:38:48 +02:00
Abe Levitan a260168d9d Honestly I don't know, I must have forgotten to commit something 2023-01-10 16:30:35 -08:00
abe e13b519e22 some horrible state but I need to stop developing on perlmutter 2022-10-17 16:32:59 -07:00
abe cb954a6067 Fix the annoying warning printing from interactions and get a minimum usable script going for simpleptycho and distributeddataparallel 2022-10-16 17:06:44 -07:00
Abe Levitan 1a34aaef60 Start making changes to enable multi-GPU, beginning with simple_ptycho 2022-10-16 12:01:55 -07:00
Abe Levitan 883ac0175a Changed module name no lowercase because that's really how it should be 2022-06-08 12:52:33 -07: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 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 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 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 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 aea0ff9bf8 Write a multislice and s_matrix ptychography program 2020-10-28 13:55:04 -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 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
Abraham Levitan f78a39daf5 add the test for simple_ptycho_model' 2019-10-07 15:44:17 -04:00
Abe Levitan 120e23ef15 Write the model and dataset tutorials, update the dependencies, and various small bug fixes 2019-10-04 16:53:22 -04:00
Abe Levitan f58f3cc2c5 misc small changes 2019-10-02 13:27:32 -04:00
Abe Levitan 40998908f1 refactor datasets, wrote more docs, added one more test dataset 2019-09-09 14:16:42 -04:00
Abe Levitan 99d02f95cf Finish fleshing out the examples 2019-09-04 18:23:34 -04:00
Abe Levitan e80bf05f25 Further improve docs layout and add unfinished ptycho models to repo 2019-09-04 16:27:55 -04:00
Abe Levitan de186592cb Update the docstrings on all the tools files and start laying out the docs for real 2019-09-03 18:49:45 -04:00
Abe Levitan 1e3a98c599 Add and build tests for a Fourier Ring Correlation method 2019-08-17 10:39:35 -04:00
Abe Levitan d2c07bf1ac Add a tool to look at raw data 2019-08-15 12:16:43 -04:00
Abe Levitan f769806e68 Lots of small changes 2019-08-15 11:14:20 -04:00
Abe Levitan fe1f4db0c6 Consistently get Bragg/specular geometry implemented across both models/datasets and dataloaders 2019-07-01 15:02:14 -04:00
Abe Levitan 6b50e41614 Add some sensible examples 2019-06-28 16:01:53 -04:00
Abe Levitan a2a07055c4 Add sim-to-dataset capability 2019-06-27 17:26:36 -04:00
Abe Levitan f769f9e7ab Start moving the example code to datasets which can fit on the git server 2019-06-26 17:47:09 -04:00
Abe Levitan c246a5ed96 Added a diffraction pattern browser 2019-06-26 17:26:25 -04:00
Abe Levitan c437f95a8e Loveplotting! 2019-06-26 13:25:54 -04:00
Maddie Cain e7c0e4771c generate diffraction data with errors added for debugging on gpu 2019-05-14 01:38:15 -04:00
Maddie Cain 4896d7354a fixed ePIE bug and shortened inspect function 2019-05-12 22:58:37 -04:00
Abe Levitan 26de79ca92 Include ability to read background from a .cxi file and include it in SHARP-style initialization 2019-04-25 16:06:59 -04:00
Abe Levitan d0a56c2d99 Adding catch-all plotting tools and saving tools to models 2019-04-25 15:46:36 -04:00
Maddie Cain 84ac2cc058 added ePIE 2019-04-24 12:26:32 -04:00
Maddie Cain 6a670a82af untested ptychography work 2019-04-24 09:06:50 -04:00
Abe Levitan bf8dbe086a Add the frantic work over the past few weeks, next challenge is to organize and test it 2019-04-23 14:50:16 -04:00