Commit Graph
94 Commits
Author SHA1 Message Date
Abe Levitan 043751a8b6 Speed up the multislice model 5x, but probably break lots of other models doing it, so remember to clean upgit status 2021-01-27 22:33:45 -05:00
Abe Levitan 0dec5aa9fd Intermediate state in optimization, improved the round interaction but not sinc yet 2021-01-27 20:27:31 -05:00
Abe Levitan e265c85d6b Touching in before I shred everything to improve efficiency 2021-01-27 19:27:21 -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 32a8a8179d Fix an issue with the test for the poisson NLL function 2020-12-28 21:45:01 -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 75011eaccf Make tweaks to the tilt correction to work with the grazing reflection data, add basic atom-modeling for electron ptychography, and update the multislice ptycho to include a bandlimit to avoid aliasing 2020-12-21 12:22:04 -05:00
Abe Levitan 38345da454 Update S matrix ptychography and also update the S matrix interaction function to use a more interpretable definition of the S matrix 2020-10-30 14:52:17 -04:00
Abe Levitan aea0ff9bf8 Write a multislice and s_matrix ptychography program 2020-10-28 13:55:04 -04: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 39cb345ccb update docs 2020-04-29 17:56:48 -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 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 fbbecbd04c First work on the off-axis propagator 2020-04-23 14:32:19 -04:00
Abe Levitan d8486306f7 Fix a bug with oversampling in the measurement functions 2020-02-11 15:20:55 -05:00
David Rower 8d89a86445 Fixing strings to avoid invalid escape sequence warning 2020-02-03 12:00:56 -05: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
David Rower 486f58a86e Fixed special case in get_entry_info function, adding metadata to sample in converteR 2020-01-23 11:53:07 -05:00
David Rower 384ced5b00 Using $\mu instead of um for micrometers 2019-12-11 16:19:45 -05:00
David Rower 51eae81ee2 Fixed logical bug in get_detector_geometry, enforcing PEP 257 docstring convention of using periods 2019-12-09 13:50:36 -05:00
David Rower b5f78b47c7 add_detector now flexible for both CXI and CDTools basis conventions 2019-12-09 13:37:11 -05:00
David Rower 256142e2f6 Fixing typo in analysis function documentation 2019-10-10 11:53:12 -04: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 f58f3cc2c5 misc small changes 2019-10-02 13:27:32 -04:00
Abe Levitan 99d02f95cf Finish fleshing out the examples 2019-09-04 18:23:34 -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 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 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 6471a17c34 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2019-05-22 13:00:56 -04:00
Abe Levitan 2a2b6ee960 Add tool to restrict object support, plot a nanomap, and include mask on SHARP-style initialization 2019-05-22 13:00:52 -04:00
Maddie Cain 57f353b1e1 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2019-05-15 12:44:15 -04:00
Maddie Cain a65a3867c0 ensure basis vectors are in the right wrong format 2019-05-15 12:43:40 -04:00
Maddie Cain 4896d7354a fixed ePIE bug and shortened inspect function 2019-05-12 22:58:37 -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