Damian Guenzing
9264228c89
Merge branch 'master' into FRC
2025-07-14 11:58:07 -07:00
gnzng
e0cf3ea2e1
Enhance line_based_frc function with detailed docstring and input validation checks
2025-07-10 14:33:47 -07:00
gnzng
6de3491928
Add line-based FRC function and corresponding tests, and example file
...
- Implemented `line_based_frc` function for computing line-based Fourier Ring Correlation with multiple threshold methods.
- Added unit tests for `line_based_frc` to validate functionality with both PyTorch tensors and NumPy arrays.
- Created example script to demonstrate usage of `line_based_frc` with generated test images.
2025-07-10 14:24:24 -07:00
gnzng
b00f39e1fe
linting test_analysis.py and test_data.py
2025-07-07 14:28:23 -07:00
levita_a
4ecc782c28
Reply to Daynes comment's and slightly loosen a tolerance in one test that has been failing
2025-06-10 14:11:01 +02:00
levita_a
35f140d348
Fully replace orthogonalize_probes and update most models
2024-07-25 17:35:48 +02:00
levita_a
943dde13e6
Fix a remaining bug in orthogonalize_probes and also fix some lingering issues with the liveplotting for unified mode fancy ptycho
2024-07-25 16:32:10 +02:00
levita_a
5141320c6f
rewrite the probe orthogonalization for fancy_ptycho, and introduce a new probe orthogonalization tool in analysis. Also, update some tracking plots in fancy_ptycho
2024-07-25 15:46:53 +02:00
levita_a
59d103f6d6
update RPI to work with the latest data saving method, change dependence to latest pytorch for LBFGS to work on complex leaf tensors, and fix an issue with the test for the FRCs
2024-07-01 17:16:07 +02:00
levita_a
a9e0157707
Get tests to past and removeopt_for_fft
2023-12-01 15:58:18 +01:00
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
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
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
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
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
d4576d1939
Write up the tests and fix a bug in the probe orthogonalization
2019-04-24 15:29:07 -04:00