456 Commits
Author SHA1 Message Date
yoshikisd 9795f80718 Merge remote-tracking branch 'origin/master' into multigpu 2026-02-21 16:31:32 -08:00
Dayne Yoshiki Sasaki ca3c48e83d Merge pull request #67 from cdtools-developers/new_high_NA_intensity
A small fix to the high NA propagator
2026-02-11 09:41:05 -08:00
levita_a 1dd116d277 Add the additional factor of R^2 2026-02-11 11:06:29 +01:00
Dayne Yoshiki Sasaki e56f3c959f Merge pull request #31 from cdtools-developers/near_field_ptycho
Adding near field ptychography
2026-02-10 09:52:52 -08:00
levita_a e52c6e38aa Remove the spurious 'probe_shape' parameter 2026-02-10 11:46:14 +01:00
levita_a 1d57005b33 Add the example data 2026-02-06 13:28:00 +01:00
levita_a 65e4882fdd Merge remote-tracking branch 'origin/master' into near_field_ptycho 2026-01-14 17:09:17 +01:00
levita_a a97e4cdf39 Add licensed near-field ptycho data to enable testing 2026-01-14 17:01:11 +01:00
Abe Levitan 98d2acf032 Merge pull request #66 from cdtools-developers/bugfix/surface_normal_strip
Fix a bug preventing the default surface normal of [0 0 1] from ever being defined in Bragg2DPtycho
2025-12-19 14:55:59 +01:00
yoshikisd e059c18402 Make the timeout default 30 seconds and enforce timeout in units of seconds 2025-12-18 21:46:01 +00:00
yoshikisd 69a94f0fe8 Bragg2DPtycho scattering_mode string values only inspected if scattering_mode is a string 2025-12-18 18:15:19 +00:00
yoshikisd 9792b141ef Merge remote-tracking branch 'origin/master' into multigpu 2025-12-12 00:34:51 +00:00
yoshikisd ebe5b54bea Merge remote-tracking branch 'origin/master' into multigpu 2025-12-12 00:33:59 +00:00
Dayne Yoshiki Sasaki 126bfaa92c Merge pull request #62 from cdtools-developers/fix-divzero-error
Stop Ptycho2DDataset.inspec() from raising a divzero error in many situations
2025-12-08 10:08:13 -08:00
Abe Levitan 9402939e40 Merge pull request #63 from cdtools-developers/surface_normal
Make it easier to change the surface normal in Bragg2DPtycho.from_dataset
2025-12-04 09:08:46 +01:00
levita_a 8f3ad59c6d Suggested changes: Make surface_normal work with anything castable to an array with np.asarray, change the check for length-3 to cover all cases, and add a check to explicitly fail if the scattering_mode argument is improperly set, instead of silently falling back to default 2025-12-02 15:27:20 +01:00
yoshikisd 7286bad264 Added heirarchy of surface_normal definition in Bragg2DPtycho from_dataset 2025-12-01 22:20:28 +00:00
yoshikisd bac95b7636 Make it easier to change surface normal in Bragg2DPtycho.from_dataset 2025-11-20 21:42:19 +00:00
levita_a c78b528930 Change how the dataset mask is calculated, so that it only raises a divide by zero error if unmasked pixels have an issue. Add an option to ptycho_2d_dataset to plot the mask 2025-11-19 10:46:01 +01:00
levita_a ab7048e375 merge updates to master 2025-11-19 10:29:33 +01:00
Dayne Yoshiki Sasaki 4a94ea13c9 Merge pull request #61 from gnzng/customdocs
[docs] Adding instruction to build custom documentation based on version or commit hashes
2025-11-18 13:12:38 -08:00
gnzng 444b56b829 docs: update installation instructions for dependencies to include pip 2025-11-16 11:21:36 -06:00
gnzng 4d18171e59 docs: add instructions for building custom documentation 2025-11-16 11:00:33 -06: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
yoshikisd e5996a49fd Merge branch 'master' into multigpu 2025-11-09 04:19:51 +00:00
yoshikisd 32e92562eb Added multi-GPU pytests 2025-11-09 03:53:42 +00:00
yoshikisd a8d2bfa07f Simplified the logic in MASTER_ADDR and MASTER_PORT definition in multigpu.setup 2025-11-09 03:37:25 +00:00
yoshikisd cd584fca81 multigpu.setup now recognizes MASTER_ADDR and MASTER_PORT when setting up spawn-based jobs 2025-11-09 03:34:08 +00:00
yoshikisd cad3d9cc33 Fixed linting issues on multigpu 2025-11-09 00:32:50 +00:00
yoshikisd 1a3d0cd011 Modified runtime error message in multigpu.setup 2025-11-09 00:28:54 +00:00
yoshikisd 842bb49a01 Added example script for running a multi-GPU speed test 2025-11-09 00:19:18 +00:00
yoshikisd 6f15c362f3 Added example scripts for running multi-GPU jobs with spawn or torchrun 2025-11-09 00:19:00 +00:00
yoshikisd b784620515 Multi-GPU compatibility added for CDIModel 2025-11-08 23:36:27 +00:00
yoshikisd 0f1f990e10 Added a check for init_method in multigpu.setup 2025-11-08 23:33:05 +00:00
yoshikisd b0604d4595 Prevent dataset from plotting/saving outside of Rank 0 2025-11-08 06:46:23 +00:00
yoshikisd 8d8da151d7 Multi-GPU compatability added for base Reconstructor and AdamReconstructor 2025-11-08 06:41:48 +00:00
yoshikisd 10229e4e28 Renamed cdtools.tools.distributed to cdtools.tools.multigpu. Also added several functions to multigpu 2025-11-08 06:35:08 +00: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