Commit Graph
47 Commits
Author SHA1 Message Date
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 8dc997ac4c Change the way plots are defined for inspect in preparation for adding liveplotting 2019-06-26 12:24:13 -04:00
Abe Levitan a09cd4b39e Add ability to load/use Bragg geometry ptycho data, also add a 1D convolve to try with the terrible data from CSX 2019-05-22 20:20:43 -04:00
Abe Levitan 22899288fc Add probe propagation with initialization as a base feature to fancy_ptycho, and fix the test for orthogonalize_probes 2019-05-03 12:30:53 -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
Abe Levitan 1104f338d1 Test the synthesize image functionality 2019-04-25 13:53:35 -04:00
Abe Levitan bc9c1c466c Refactor the PRTF calculation, fix a small bug creating a slight offset in the frequency labels, and write a test 2019-04-25 13:32:37 -04:00
Abe Levitan 9a35d44689 Update the standardization to work with incoherent probes and move over the synthesis 2019-04-24 22:01:09 -04:00
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 d4576d1939 Write up the tests and fix a bug in the probe orthogonalization 2019-04-24 15:29:07 -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
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 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 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
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 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 c73caa3a06 Write the data saving tools and finish the data tests 2019-03-25 19:11:02 -04:00
Abe Levitan a398151700 Changed how I plan to test for compatibility with different beamlines 2019-03-24 18:02:54 -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