Commit Graph
74 Commits
Author SHA1 Message Date
Abe Levitan 036fa8ea2c remove dependency on fftpack completely 2022-08-19 10:02:11 -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 101e969eda Fix the failing tests 2022-04-18 17:18:20 -07:00
Abe Levitan 096ec4ff20 Add analysis tools for comparing incoherent wavefields 2021-08-11 14:23:38 -04:00
Anastasiia Kutakh 3db2d0cdf6 . 2021-08-05 22:55:43 -04:00
Anastasiia Kutakh 894a5c697e modified polarization and polarization tests 2021-08-05 18:47:46 -04:00
Abe Levitan 3e6072acb7 Finally remove the scourge of from __future__ import ... and remove any lingering suggestion that this code is python 2 compatible 2021-08-05 11:08:13 -04:00
Abe Levitan 960740f39f Go over Anastasia's polarization tests and clean up repo a bit 2021-08-05 10:44:32 -04:00
Abe Levitan 14114f2bd4 Add tests to confirm that that the generation of angular spectrum propagators works with AD (and fix gasp so it indeed is) 2021-08-04 22:32:58 -04:00
Abe Levitan b3e45af06e Move the polarized ptycho dataset class back to loading data from the actual stored motor positions, and fix the test for the gaussian probe 2021-08-04 19:43:20 -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 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 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 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 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 d8486306f7 Fix a bug with oversampling in the measurement functions 2020-02-11 15:20:55 -05:00
Abe Levitan 69be77cc09 Update installation instructions for simplicity and also fix the tests to reflect new usage 2019-10-02 15:56:48 -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 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 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