Commit Graph

  • fe1f4db0c6 Consistently get Bragg/specular geometry implemented across both models/datasets and dataloaders Abe Levitan 2019-07-01 15:02:14 -04:00
  • bf3e206bd9 Update the setup file and readme to have sane installation instructions Abraham Levitan 2019-06-28 23:48:39 -04:00
  • 6b50e41614 Add some sensible examples Abe Levitan 2019-06-28 16:01:53 -04:00
  • a2a07055c4 Add sim-to-dataset capability Abe Levitan 2019-06-27 17:26:36 -04:00
  • f769f9e7ab Start moving the example code to datasets which can fit on the git server Abe Levitan 2019-06-26 17:47:09 -04:00
  • c246a5ed96 Added a diffraction pattern browser Abe Levitan 2019-06-26 17:26:25 -04:00
  • c437f95a8e Loveplotting! Abe Levitan 2019-06-26 13:25:54 -04:00
  • 8dc997ac4c Change the way plots are defined for inspect in preparation for adding liveplotting Abe Levitan 2019-06-26 12:24:13 -04:00
  • a09cd4b39e Add ability to load/use Bragg geometry ptycho data, also add a 1D convolve to try with the terrible data from CSX Abe Levitan 2019-05-22 20:20:43 -04:00
  • 6471a17c34 Merge branch 'master' of github.mit.edu:Scattering/CDTools Abe Levitan 2019-05-22 13:00:56 -04:00
  • 2a2b6ee960 Add tool to restrict object support, plot a nanomap, and include mask on SHARP-style initialization Abe Levitan 2019-05-22 13:00:52 -04:00
  • 57f353b1e1 Merge branch 'master' of github.mit.edu:Scattering/CDTools Maddie Cain 2019-05-15 12:44:15 -04:00
  • a65a3867c0 ensure basis vectors are in the right wrong format Maddie Cain 2019-05-15 12:43:40 -04:00
  • e7c0e4771c generate diffraction data with errors added for debugging on gpu Maddie Cain 2019-05-14 01:38:15 -04:00
  • 4896d7354a fixed ePIE bug and shortened inspect function Maddie Cain 2019-05-12 22:58:37 -04:00
  • 22899288fc Add probe propagation with initialization as a base feature to fancy_ptycho, and fix the test for orthogonalize_probes Abe Levitan 2019-05-03 12:30:53 -04:00
  • 26de79ca92 Include ability to read background from a .cxi file and include it in SHARP-style initialization Abe Levitan 2019-04-25 16:06:59 -04:00
  • d0a56c2d99 Adding catch-all plotting tools and saving tools to models Abe Levitan 2019-04-25 15:46:36 -04:00
  • 1104f338d1 Test the synthesize image functionality Abe Levitan 2019-04-25 13:53:35 -04:00
  • bc9c1c466c Refactor the PRTF calculation, fix a small bug creating a slight offset in the frequency labels, and write a test Abe Levitan 2019-04-25 13:32:37 -04:00
  • 9a35d44689 Update the standardization to work with incoherent probes and move over the synthesis Abe Levitan 2019-04-24 22:01:09 -04:00
  • 374683fe35 Move the standardizing tool over to analysis and write a test for it Abe Levitan 2019-04-24 19:23:51 -04:00
  • 75b257f816 Add a reverse tool to calculate translations from pixel space offsets Abe Levitan 2019-04-24 15:51:28 -04:00
  • 6035841874 Merge branch 'master' of github.mit.edu:Scattering/CDTools Abe Levitan 2019-04-24 15:29:15 -04:00
  • d4576d1939 Write up the tests and fix a bug in the probe orthogonalization Abe Levitan 2019-04-24 15:29:07 -04:00
  • 84ac2cc058 added ePIE Maddie Cain 2019-04-24 12:26:32 -04:00
  • fcf17d9355 Merge branch 'master' of github.mit.edu:Scattering/CDTools Maddie Cain 2019-04-24 12:25:42 -04:00
  • bfaf2bf3ac Add a tool for loading dark images from cxi files Abe Levitan 2019-04-24 11:29:49 -04:00
  • 34cf555a3c Fix an inconsistency in the incoherent sum measurement and update the test Abe Levitan 2019-04-24 11:13:13 -04:00
  • 6a670a82af untested ptychography work Maddie Cain 2019-04-24 09:06:50 -04:00
  • bf8dbe086a Add the frantic work over the past few weeks, next challenge is to organize and test it Abe Levitan 2019-04-23 14:50:16 -04:00
  • 2a717d9133 fixed bug in centroid and began adding to simple_ptycho Maddie Cain 2019-04-18 01:01:37 -04:00
  • ace81cc66d Add tools to calculate subpixel shifts. Possible improvements still on the table Abe Levitan 2019-04-10 12:20:39 -04:00
  • 91f11643e9 Make some tweaks to the simple ptycho model Abe Levitan 2019-04-10 10:25:05 -04:00
  • 168096abbe added 1d scatter plot and test Maddie Cain 2019-04-08 04:03:15 -04:00
  • e76b18b38f Merge branch 'master' of github.mit.edu:Scattering/CDTools Maddie Cain 2019-04-08 03:56:41 -04:00
  • 8aeb25bb41 added plotting capabilities and tests (note: no colorbar yet for colorized plt) Maddie Cain 2019-04-08 03:56:23 -04:00
  • 63c55582ec First pass at models, including the model for classic Ptychography Abe Levitan 2019-04-05 16:41:21 -04:00
  • d0897f1dff Add skeleton for centroid functions Abe Levitan 2019-04-05 10:19:39 -04:00
  • f1ed810514 Add a SHARP style probe guess functionality Abe Levitan 2019-04-04 23:26:36 -04:00
  • fdd100cd1c Finish building and testing the gaussian probe guess from a dataset Abe Levitan 2019-04-04 17:03:23 -04:00
  • 31252986d8 Change propagation to preserve norm despite the extra cost, and generalize the gaussian initializer Abe Levitan 2019-04-04 15:28:31 -04:00
  • 4e1d9f6c5c Write the centroid finding function Abe Levitan 2019-04-01 18:59:20 -04:00
  • 59e1a88e97 Add initialization for object size Abe Levitan 2019-04-01 17:16:15 -04:00
  • 3248a3b46e Add tool to convert from real space to pixel space translations Abe Levitan 2019-04-01 16:51:36 -04:00
  • b8bdcfeb44 minor tweak to allow for addition of padding Abe Levitan 2019-04-01 16:17:52 -04:00
  • 525ab7e91b Add a tool to correctly define the wavefield arrays for non-centered detectors Abe Levitan 2019-04-01 16:14:49 -04:00
  • ec74e1aa5f Add the ability for datasets to change what device they output to even if data remains stored on cpu Abe Levitan 2019-04-01 09:31:33 -04:00
  • 668f81ab38 Update the interactions, propagators, and measurements to accept both single wavefields and stacks of wavefields, update the tests as well Abe Levitan 2019-04-01 00:18:32 -04:00
  • d49f8a1c04 Write and test the first set of measurements Abe Levitan 2019-03-28 20:15:03 -04:00
  • 6a1a345183 This file slipped away from me last time Abe Levitan 2019-03-28 19:51:40 -04:00
  • 1e43c095d1 Fix some bugs in the propagators and initializers, write the tests for the angular spectrum propagator Abe Levitan 2019-03-28 19:30:40 -04:00
  • bec571e0c4 Add the first two interactions for ptychography Abe Levitan 2019-03-28 17:18:40 -04:00
  • 89f96b459e Fix an issue with the modulus projector, update test to catch that issue Abe Levitan 2019-03-28 15:56:48 -04:00
  • 7f31d402ff Update the projectors to be compatible with AD Abe Levitan 2019-03-28 00:49:33 -04:00
  • 5c588da8ee dealt with masking in modulus Maddie Cain 2019-03-27 23:53:03 -04:00
  • a1389ec4e2 removed cached files Maddie Cain 2019-03-27 23:05:53 -04:00
  • b7438cc21f Delete __init__.py mgcain 2019-03-27 22:56:25 -04:00
  • 4f3b6d0f3d Delete CDTools-0.0.1-py2.7.egg mgcain 2019-03-27 22:56:09 -04:00
  • 6a395ee3d9 added build and dist folders Maddie Cain 2019-03-27 22:55:07 -04:00
  • cbb8d36187 fixed merge conflict Maddie Cain 2019-03-27 21:59:05 -04:00
  • f1c3df3545 added projectors, propagators Maddie Cain 2019-03-27 21:57:23 -04:00
  • bad7542271 Finish writing the Dataset classes with loading, and write up all the tests Abe Levitan 2019-03-27 19:03:44 -04:00
  • b2a826b197 add projectors, propagators, and initializers Maddie Cain 2019-03-27 01:34:40 -04:00
  • 78d13a3f67 Start work on the datasets feature to finish the data loading and saving aspect of the project Abe Levitan 2019-03-25 22:31:11 -04:00
  • 7c117943ed Barebones change of the cxi explorer to a script, break plotting for now Abe Levitan 2019-03-25 19:25:58 -04:00
  • c73caa3a06 Write the data saving tools and finish the data tests Abe Levitan 2019-03-25 19:11:02 -04:00
  • a398151700 Changed how I plan to test for compatibility with different beamlines Abe Levitan 2019-03-24 18:02:54 -04:00
  • b3b953fc8a First pass at the data loading + simple tests, still need to do data saving tools Abe Levitan 2019-03-24 18:00:24 -04:00
  • f08a77d6da Finish the tests for the losses Abe Levitan 2019-03-22 22:33:52 -04:00
  • 595e84cd01 Start putting together the losses Abe Levitan 2019-03-22 19:59:40 -04:00
  • 83673dfecd Add tests for the cmath functions Abe Levitan 2019-03-20 11:44:16 -04:00
  • f6551ea22b Add the complex math tools and some basic loss functions Abe Levitan 2019-03-20 10:49:08 -04:00
  • 6d2f92584d Add start of structure Abe Levitan 2019-03-20 09:35:55 -04:00
  • c3ae8316cd first commit Abe Levitan 2019-03-20 09:30:53 -04:00