Commit Graph
47 Commits
Author SHA1 Message Date
Abe Levitan 374683fe35 Move the standardizing tool over to analysis and write a test for it 2019-04-24 19:23:51 -04:00
Abe Levitan 75b257f816 Add a reverse tool to calculate translations from pixel space offsets 2019-04-24 15:51:28 -04:00
Abe Levitan 6035841874 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2019-04-24 15:29:15 -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
Maddie Cain 84ac2cc058 added ePIE 2019-04-24 12:26:32 -04:00
Maddie Cain fcf17d9355 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2019-04-24 12:25:42 -04:00
Abe Levitan bfaf2bf3ac Add a tool for loading dark images from cxi files 2019-04-24 11:29:49 -04:00
Abe Levitan 34cf555a3c Fix an inconsistency in the incoherent sum measurement and update the test 2019-04-24 11:13:13 -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
Maddie Cain 2a717d9133 fixed bug in centroid and began adding to simple_ptycho 2019-04-18 01:01:37 -04:00
Abe Levitan ace81cc66d Add tools to calculate subpixel shifts. Possible improvements still on the table 2019-04-10 12:20:39 -04:00
Abe Levitan 91f11643e9 Make some tweaks to the simple ptycho model 2019-04-10 10:25:05 -04:00
Maddie Cain 168096abbe added 1d scatter plot and test 2019-04-08 04:03:15 -04:00
Maddie Cain e76b18b38f Merge branch 'master' of github.mit.edu:Scattering/CDTools 2019-04-08 03:56:41 -04:00
Maddie Cain 8aeb25bb41 added plotting capabilities and tests (note: no colorbar yet for colorized plt) 2019-04-08 03:56:23 -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 d0897f1dff Add skeleton for centroid functions 2019-04-05 10:19:39 -04:00
Abe Levitan f1ed810514 Add a SHARP style probe guess functionality 2019-04-04 23:26:36 -04:00
Abe Levitan fdd100cd1c Finish building and testing the gaussian probe guess from a dataset 2019-04-04 17:03:23 -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 4e1d9f6c5c Write the centroid finding function 2019-04-01 18:59:20 -04:00
Abe Levitan 59e1a88e97 Add initialization for object size 2019-04-01 17:16:15 -04:00
Abe Levitan 3248a3b46e Add tool to convert from real space to pixel space translations 2019-04-01 16:51:36 -04:00
Abe Levitan b8bdcfeb44 minor tweak to allow for addition of padding 2019-04-01 16:17:52 -04:00
Abe Levitan 525ab7e91b Add a tool to correctly define the wavefield arrays for non-centered detectors 2019-04-01 16:14:49 -04:00
Abe Levitan ec74e1aa5f Add the ability for datasets to change what device they output to even if data remains stored on cpu 2019-04-01 09:31:33 -04:00
Abe Levitan 668f81ab38 Update the interactions, propagators, and measurements to accept both single wavefields and stacks of wavefields, update the tests as well 2019-04-01 00:18:32 -04:00
Abe Levitan d49f8a1c04 Write and test the first set of measurements 2019-03-28 20:15:03 -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
Abe Levitan 89f96b459e Fix an issue with the modulus projector, update test to catch that issue 2019-03-28 15:56:48 -04:00
Abe Levitan 7f31d402ff Update the projectors to be compatible with AD 2019-03-28 00:49:33 -04:00
Maddie Cain 5c588da8ee dealt with masking in modulus 2019-03-27 23:53:03 -04:00
Maddie Cain cbb8d36187 fixed merge conflict 2019-03-27 21:59:05 -04:00
Maddie Cain f1c3df3545 added projectors, propagators 2019-03-27 21:57:23 -04:00
Abe Levitan bad7542271 Finish writing the Dataset classes with loading, and write up all the tests 2019-03-27 19:03:44 -04:00
Maddie Cain b2a826b197 add projectors, propagators, and initializers 2019-03-27 01:34:40 -04:00
Abe Levitan 78d13a3f67 Start work on the datasets feature to finish the data loading and saving aspect of the project 2019-03-25 22:31:11 -04:00
Abe Levitan 7c117943ed Barebones change of the cxi explorer to a script, break plotting for now 2019-03-25 19:25:58 -04:00
Abe Levitan c73caa3a06 Write the data saving tools and finish the data tests 2019-03-25 19:11:02 -04:00
Abe Levitan b3b953fc8a First pass at the data loading + simple tests, still need to do data saving tools 2019-03-24 18:00:24 -04:00
Abe Levitan f08a77d6da Finish the tests for the losses 2019-03-22 22:33:52 -04:00
Abe Levitan 595e84cd01 Start putting together the losses 2019-03-22 19:59:40 -04:00
Abe Levitan 83673dfecd Add tests for the cmath functions 2019-03-20 11:44:16 -04:00
Abe Levitan f6551ea22b Add the complex math tools and some basic loss functions 2019-03-20 10:49:08 -04:00
Abe Levitan 6d2f92584d Add start of structure 2019-03-20 09:35:55 -04:00