gnzng
1e5d1d777b
merge master into branch
2025-12-12 16:39:17 -08:00
Dayne Yoshiki Sasaki
36055d04be
Merge pull request #59 from gnzng/quickfixdocs
...
fix: documentation build step to use Sphinx directly
2025-11-12 14:54:57 -08:00
gnzng
f0f44e3c83
fix: documentation build step to use Sphinx directly
2025-11-12 11:54:17 -06:00
Abe Levitan
562bcab171
Merge pull request #57 from gnzng/pyprojecttoml
...
Change to Pyproject.toml installation and uv, remove python 3.8 support, add python 3.13 and 3.14 support
2025-11-12 16:41:21 +01:00
gnzng
3f46caf757
update authors list in pyproject.toml and move further doc link
2025-11-12 09:04:53 -06:00
gnzng
3c9e9eb1c7
adding pure pip install pipeline to CI
2025-11-12 08:59:37 -06:00
gnzng
11ed3df35e
ending python 3.8 support, adding python 3.14 to automatic test
2025-11-11 14:33:55 -06:00
gnzng
5a3e154e8d
add Python 3.13 to the CI workflow matrix
2025-11-10 12:50:59 -08:00
gnzng
e94499a6a4
fix: update pytest command to use 'uv' for consistency in CI workflow
2025-11-10 12:42:32 -08:00
gnzng
18c794b5db
fix: add virtual environment creation step in CI github workflows
2025-11-10 12:37:44 -08:00
gnzng
728cf9d590
update readme and installation docs
2025-11-10 12:23:25 -08:00
gnzng
be28903be7
refactor: CI installation process to use 'uv' for faster dependency management
2025-11-10 12:23:09 -08:00
Abe Levitan
5d43b05822
Merge pull request #54 from gnzng/versiontests
...
Add tests for version existence and semantic format
2025-10-31 11:47:25 +01:00
gnzng
f79836bfc2
Add tests for version existence and semantic format
2025-10-29 21:40:12 -07:00
Damian Guenzing
14e4c99ec7
Merge pull request #53 from cdtools-developers/version_source_of_truth
...
Add cdtools.__version__ and set it up so that there is a single source of truth for the version number
2025-10-29 21:34:33 -07:00
levita_a
008fef6244
Add cdtools.__version__ and set it up so that there is a single source of truth for the version number. Still not done with setuptools_scm, but one step at a time)
2025-10-28 16:06:21 +01:00
Dayne Yoshiki Sasaki
1fa9a75806
Merge pull request #52 from cdtools-developers/bugfix/masking
...
Fix a high priority bug with the masking system which was introduced in the switch to reconstructors classes
2025-10-24 07:14:41 -07:00
levita_a
e38ebd7372
Fix a high priority bug with the masking system which was introduced in the switch to reconstructors classes
2025-10-24 15:11:46 +02:00
gnzng
e4a713cdf1
Fix frequency calculation in line_based_frc for 2D case
2025-10-21 20:15:40 -07:00
Dayne Yoshiki Sasaki
fbfbf4fa87
Merge pull request #49 from cdtools-developers/show_original_pos
...
Add the original positions to the fancy_ptycho position plotting
2025-10-19 12:05:48 -07:00
levita_a
86e85e1853
Fix a bug where the x-axis was double flipped
2025-10-19 13:08:16 +02:00
levita_a
3eec9c0cec
Add the original positions to the fancy_ptycho position plotting
2025-10-19 12:45:19 +02:00
Abe Levitan
d9c4ebfdf3
Merge pull request #47 from yoshikisd/refactor/reconstructors
...
Separate optimization methods from CDIModel into separate class Reconstructors
2025-10-17 20:15:43 -03:00
Dayne Yoshiki Sasaki
6443b16f5c
Merge pull request #1 from cdtools-developers/refactor/reconstructors
...
Various suggested changes for the reconstructors branch
2025-10-17 15:58:47 -07:00
levita_a
7d39015719
response to dayne's review
2025-10-17 23:41:08 +02:00
Abe Levitan and Dayne Yoshiki Sasaki
9d633074d8
Apply suggestions from code review
...
Co-authored-by: Dayne Yoshiki Sasaki <37006268+yoshikisd@users.noreply.github.com >
2025-10-17 18:37:38 -03:00
levita_a
f022b5e2c4
Get the tests passing again after the change of the optimization functions in the model classes
2025-10-16 15:58:28 +02:00
levita_a
8328b852d3
Update the docs to include the reconstructors class and discuss their use in the examples
2025-10-16 14:43:04 +02:00
levita_a
3c8de5dc19
Update the example codes
2025-10-16 14:16:12 +02:00
levita_a
aa684f27eb
Change the pattern for Reconstructor so that the optimizer is defined at object creation, and move the dataloader creation logic to the base optimize() function as it was reused in all subclasses
2025-10-13 19:20:42 +02:00
levita_a
a089dc3b72
Switch to a simpler pattern for the CDIModel.<algorithm>_optimize functions that preserves the old behavior when the old pattern is used
2025-10-13 14:26:07 +02:00
levita_a
766a7d1adf
Move to better supported strategy for avoiding circular imports
2025-10-13 14:20:38 +02:00
yoshikisd
82ce845385
Changed the names of the reconstructors and updated the old optimizer class documentation
2025-08-04 16:51:24 +00:00
yoshikisd
1e7fe2eb5f
Added pytests for reconstructors
2025-08-01 22:31:40 +00:00
yoshikisd
404d03bbd3
Rebased CDIModel to use Reconstructors for reconstructions.
2025-08-01 21:51:52 +00:00
yoshikisd
76bc2fa75b
Got rid of world_size attribute
2025-08-01 21:50:35 +00:00
yoshikisd
0785eae552
Created Reconstructors class to replace optimization methods in CDIModel
2025-08-01 21:37:05 +00:00
gnzng
368a2c616c
remove alignment and assume aligned images as input
2025-07-29 16:35:52 -07:00
gnzng
4c021148f0
Enhance line_based_frc function to align images using hann window and subpixel shifting
2025-07-29 16:10:45 -07:00
gnzng
3a71d742d2
Enhance split method in Ptycho2DDataset to allow non-random dataset splitting
2025-07-29 14:28:07 -07:00
gnzng
4e19e1c108
reduce code redundancy
2025-07-15 14:58:13 -07:00
gnzng
505466b067
add to line_based_frc function to support standard 2D FRC computation for comparison
2025-07-15 14:43:58 -07:00
Damian Guenzing
9264228c89
Merge branch 'master' into FRC
2025-07-14 11:58:07 -07:00
Abe Levitan
25ca3a9317
Merge pull request #44 from cdtools-developers/flake8
...
[Flake8] conf file and cleaned up test files
2025-07-14 11:55:34 +02:00
gnzng
027831d3a8
Add citation for FRC computation in line_based_frc function
2025-07-10 14:46:29 -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
fc5a76ad61
linting test_plotting.py and test_propagators.py
2025-07-07 15:13:11 -07:00
gnzng
65e83753a8
linting test_interactions.py, test_losses.py, and test_measurements.py
2025-07-07 14:58:11 -07:00
gnzng
88df4c0794
linting test_image_processing.py and test_initializers.py
2025-07-07 14:40:17 -07:00