fullwave25 1.2.3rc2__tar.gz → 1.2.5.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/.bumpversion.toml +1 -1
  2. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/PKG-INFO +1 -1
  3. fullwave25-1.2.5.dev0/debug_solver_bin/fullwave2_2d_2_relax_multi_gpu_cuda124 +0 -0
  4. fullwave25-1.2.5.dev0/debug_solver_bin/fullwave2_2d_exponential_attenuation_multi_gpu +0 -0
  5. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/__init__.py +1 -1
  6. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/binary_manager.py +8 -3
  7. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/2d/num_relax=2/fullwave2_2d_2_relax_multi_gpu_cuda118 +0 -0
  8. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/2d/num_relax=2/fullwave2_2d_2_relax_multi_gpu_cuda124 +0 -0
  9. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/2d/num_relax=2/fullwave2_2d_2_relax_multi_gpu_cuda129 +0 -0
  10. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/2d/num_relax=2/fullwave2_2d_2_relax_multi_gpu_cuda130 +0 -0
  11. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/3d/num_relax=2/fullwave2_3d_2_relax_multi_gpu_cuda118 +0 -0
  12. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/3d/num_relax=2/fullwave2_3d_2_relax_multi_gpu_cuda124 +0 -0
  13. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/3d/num_relax=2/fullwave2_3d_2_relax_multi_gpu_cuda129 +0 -0
  14. fullwave25-1.2.5.dev0/fullwave/solver/bins/_gpu/3d/num_relax=2/fullwave2_3d_2_relax_multi_gpu_cuda130 +0 -0
  15. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/pyproject.toml +1 -1
  16. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/uv.lock +1 -1
  17. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/.gitignore +0 -0
  18. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/.pre-commit-config.yaml +0 -0
  19. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/.python-version +0 -0
  20. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/20260120_0844.log +0 -0
  21. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/CITATION.cff +0 -0
  22. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/CLAUDE.md +0 -0
  23. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/CONTRIBUTING.md +0 -0
  24. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/LICENSE +0 -0
  25. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/Makefile +0 -0
  26. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/README.md +0 -0
  27. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/beamformer.m +0 -0
  28. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/experiments/__init__.py +0 -0
  29. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/experiments/exp_scatterer_diameter.py +0 -0
  30. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/beamformer/__init__.py +0 -0
  31. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/beamformer/beamformer.py +0 -0
  32. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/constants/__init__.py +0 -0
  33. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/constants/material_properties.py +0 -0
  34. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/grid.py +0 -0
  35. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium.py +0 -0
  36. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/__init__.py +0 -0
  37. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/domain.py +0 -0
  38. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/medium_builder.py +0 -0
  39. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/__init__.py +0 -0
  40. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/data/.keep +0 -0
  41. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/data/abdominal_wall/i2365f_etfw1.mat +0 -0
  42. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/domain_abdominal_wall.py +0 -0
  43. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/domain_background.py +0 -0
  44. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/domain_scatterer.py +0 -0
  45. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/domain_simple.py +0 -0
  46. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/medium_builder/presets/domain_water_gel.py +0 -0
  47. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/sensor.py +0 -0
  48. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/__init__.py +0 -0
  49. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/bins/database/relaxation_params_database_num_relax=2_20260113_0957.mat +0 -0
  50. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/cuda_utils.py +0 -0
  51. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/input_file_writer.py +0 -0
  52. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/launcher.py +0 -0
  53. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/pml_builder.py +0 -0
  54. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/solver.py +0 -0
  55. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/solver/utils.py +0 -0
  56. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/source.py +0 -0
  57. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/transducer.py +0 -0
  58. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/__init__.py +0 -0
  59. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/check_functions.py +0 -0
  60. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/coordinates.py +0 -0
  61. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/memory_tempfile.py +0 -0
  62. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/numerical.py +0 -0
  63. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/plot_utils.py +0 -0
  64. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/pulse.py +0 -0
  65. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/relaxation_parameters.py +0 -0
  66. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/scatterer.py +0 -0
  67. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/fullwave/utils/signal_process.py +0 -0
  68. {fullwave25-1.2.3rc2 → fullwave25-1.2.5.dev0}/ruff.toml +0 -0
@@ -1,5 +1,5 @@
1
1
  [tool.bumpversion]
2
- current_version = "1.2.3-rc2"
2
+ current_version = "1.2.5-dev0"
3
3
  parse = """(?x)
4
4
  (?P<major>0|[1-9]\\d*)\\.
5
5
  (?P<minor>0|[1-9]\\d*)\\.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fullwave25
3
- Version: 1.2.3rc2
3
+ Version: 1.2.5.dev0
4
4
  Summary: Fullwave 2.5: Ultrasound wave propagation simulation with heterogeneous power law attenuation modelling capabilities
5
5
  Author: Masashi Sode, Gianmarco Pinton
6
6
  Maintainer: Masashi Sode
@@ -60,7 +60,7 @@ try:
60
60
  __version__ = version("fullwave")
61
61
  except PackageNotFoundError:
62
62
  # Update via bump-my-version, not manually
63
- __version__ = "1.2.3-rc2"
63
+ __version__ = "1.2.5-dev0"
64
64
 
65
65
  VERSION = __version__ # for convenience
66
66
  logger.info("Fullwave version: %s", __version__)
@@ -104,15 +104,20 @@ def ensure_binary(local_path: Path) -> Path:
104
104
  return local_path
105
105
 
106
106
  filename = local_path.name
107
- cached = CACHE_DIR / filename
108
107
 
109
- # 2. Previously downloaded and cached.
108
+ # Resolve the required tag first so cache lookup is always tag-specific.
109
+ # This ensures that when BINARY_RELEASE_TAG is bumped (e.g. after a package
110
+ # update) the old cached binary is not silently reused — each tag gets its
111
+ # own subdirectory under CACHE_DIR.
112
+ tag = os.environ.get("FULLWAVE25_BINARY_TAG", BINARY_RELEASE_TAG)
113
+ cached = CACHE_DIR / tag / filename
114
+
115
+ # 2. Previously downloaded and cached for this exact tag.
110
116
  if cached.exists():
111
117
  logger.debug("Using cached binary: %s", cached)
112
118
  return cached
113
119
 
114
120
  # 3. Download from GitHub releases.
115
- tag = os.environ.get("FULLWAVE25_BINARY_TAG", BINARY_RELEASE_TAG)
116
121
  url = _download_url(filename, tag)
117
122
 
118
123
  logger.info(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "fullwave25"
3
- version = "1.2.3-rc2" # Update via bump-my-version, not manually
3
+ version = "1.2.5-dev0" # Update via bump-my-version, not manually
4
4
  description = "Fullwave 2.5: Ultrasound wave propagation simulation with heterogeneous power law attenuation modelling capabilities"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -735,7 +735,7 @@ wheels = [
735
735
 
736
736
  [[package]]
737
737
  name = "fullwave25"
738
- version = "1.2.3rc2"
738
+ version = "1.2.5.dev0"
739
739
  source = { editable = "." }
740
740
  dependencies = [
741
741
  { name = "joblib" },
File without changes
File without changes
File without changes
File without changes
File without changes