Commit Graph
98 Commits
Author SHA1 Message Date
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
Abe Levitan 5cac96ff24 Merge branch 'master' of github.mit.edu:Scattering/CDTools 2020-02-11 15:00:48 -05:00
Abe Levitan 7cbc3f2c53 Add a TITAN STEM converter and add units to the inspect function for fancy_ptycho 2020-02-11 15:00:42 -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 7a243842b9 Fixing wrong theta convention in converter; fixing simple_ptycho bug in dictionary syntax 2020-01-23 17:20:25 -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 3cf44cff9f using greek \mu instead of u for axis labels ;) 2019-12-09 19:14:08 -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 d330e1b84e Only adjusting colorbar when array is not a constant array (for consistency between shots), and added right/left keys for moving between shots 2019-12-03 15:32:16 -05:00
David Rower 256142e2f6 Fixing typo in analysis function documentation 2019-10-10 11:53:12 -04:00
Abe Levitan e71c266fe4 Update the ptycho dataset with the new, more sensible, approach 2019-10-05 09:30:26 -04:00
Abe Levitan e987d40df8 Remove last of t.tensor usage from dataset loading 2019-10-04 17:00:43 -04:00
Abe Levitan 120e23ef15 Write the model and dataset tutorials, update the dependencies, and various small bug fixes 2019-10-04 16:53:22 -04:00
Abe Levitan bc7caebdd9 Fix the damn dataset.inspect thing 2019-10-03 17:49:10 -04:00
David Rower 8197eed50e Fixed merging conflict - log scale in ptycho_2d_dataset.py 2019-10-03 15:25:27 -04:00
David Rower 61f8bf733e Fixed a few bugs, 1) Title of relative displacement plot no longer dissapears, 2) slider now updates on click event, also added titles for colorbars. 2019-10-03 15:22:53 -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 185fde27a0 More work on documentation 2019-09-11 17:56:54 -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 99d02f95cf Finish fleshing out the examples 2019-09-04 18:23:34 -04:00
Abe Levitan e80bf05f25 Further improve docs layout and add unfinished ptycho models to repo 2019-09-04 16:27:55 -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 d2c07bf1ac Add a tool to look at raw data 2019-08-15 12:16:43 -04:00
Abe Levitan f769806e68 Lots of small changes 2019-08-15 11:14:20 -04:00
Abe Levitan 06ce14fac9 Fixed a small bug 2019-07-01 15:27:57 -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 a2a07055c4 Add sim-to-dataset capability 2019-06-27 17:26:36 -04:00
Abe Levitan f769f9e7ab Start moving the example code to datasets which can fit on the git server 2019-06-26 17:47:09 -04:00
Abe Levitan c246a5ed96 Added a diffraction pattern browser 2019-06-26 17:26:25 -04:00
Abe Levitan c437f95a8e Loveplotting! 2019-06-26 13:25:54 -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 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