AOT-biomaps 2.9.224__py3-none-any.whl → 2.9.225__py3-none-any.whl

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.

Potentially problematic release.


This version of AOT-biomaps might be problematic. Click here for more details.

@@ -85,7 +85,7 @@ class PrimalDualRecon(AlgebraicRecon):
85
85
  else:
86
86
  self.reconLaser = data
87
87
  # Essayer de charger les indices
88
- base_dir, file_name = os.path.split(recon_path)
88
+ base_dir, _ = os.path.split(recon_path)
89
89
  indices_path = os.path.join(base_dir, "indices.npy")
90
90
  if os.path.exists(indices_path):
91
91
  indices_data = np.load(indices_path, allow_pickle=True)
@@ -104,7 +104,7 @@ class PrimalDualRecon(AlgebraicRecon):
104
104
  opt_name = optimizer.value if optimizer is not None else self.optimizer.value
105
105
  # Find the most recent results directory if no date is specified
106
106
  dir_pattern = f'results_*_{opt_name}'
107
- if opt_name == OptimizerType.CP_TV or opt_name == OptimizerType.CP_KL:
107
+ if opt_name == OptimizerType.CP_TV.value or opt_name == OptimizerType.CP_KL.value:
108
108
  dir_pattern += f'_Alpha_{self.alpha}_Theta_{self.theta}_L_{self.L}'
109
109
  if results_date is None:
110
110
  dirs = [d for d in os.listdir(self.saveDir) if os.path.isdir(os.path.join(self.saveDir, d)) and dir_pattern in d]
@@ -114,7 +114,7 @@ class PrimalDualRecon(AlgebraicRecon):
114
114
  results_dir = os.path.join(self.saveDir, dirs[0])
115
115
  else:
116
116
  results_dir = os.path.join(self.saveDir, f'results_{results_date}_{opt_name}')
117
- if opt_name == OptimizerType.CP_TV or opt_name == OptimizerType.CP_KL:
117
+ if opt_name == OptimizerType.CP_TV.value or opt_name == OptimizerType.CP_KL.value:
118
118
  results_dir += f'_Alpha_{self.alpha}_Theta_{self.theta}_L_{self.L}'
119
119
  if not os.path.exists(results_dir):
120
120
  raise FileNotFoundError(f"Directory {results_dir} does not exist.")
@@ -147,7 +147,6 @@ class PrimalDualRecon(AlgebraicRecon):
147
147
  self.indices = None
148
148
  print(f"Loaded reconstruction results and indices from {results_dir}")
149
149
 
150
-
151
150
  def _convexReconPython(self, withTumor):
152
151
  if self.optimizer == OptimizerType.CP_TV:
153
152
  if withTumor:
AOT_biomaps/__init__.py CHANGED
@@ -82,7 +82,7 @@ from .AOT_Recon.AOT_PotentialFunctions.RelativeDifferences import *
82
82
  from .Config import config
83
83
  from .Settings import *
84
84
 
85
- __version__ = '2.9.224'
85
+ __version__ = '2.9.225'
86
86
  __process__ = config.get_process()
87
87
 
88
88
  def initialize(process=None):
@@ -259,5 +259,6 @@ def initialize(process=None):
259
259
 
260
260
 
261
261
 
262
+
262
263
 
263
264
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AOT_biomaps
3
- Version: 2.9.224
3
+ Version: 2.9.225
4
4
  Summary: Acousto-Optic Tomography
5
5
  Home-page: https://github.com/LucasDuclos/AcoustoOpticTomography
6
6
  Author: Lucas Duclos
@@ -1,6 +1,6 @@
1
1
  AOT_biomaps/Config.py,sha256=ghEOP1n8aO1pR-su13wMeAZAxZRfry5hH67NbtZ8SqI,3614
2
2
  AOT_biomaps/Settings.py,sha256=v8fPhnvvcfBJP29m1RLOTEr3jndGLGwbUiORXmsj2Bo,2853
3
- AOT_biomaps/__init__.py,sha256=S1eVXvx7yN1VXnVtA4rthl32qYfLaUDazksHVLpjoUI,4318
3
+ AOT_biomaps/__init__.py,sha256=phtdM9B_fzAS1PveD0B0ngkv3yh9EQt0SE0SNF_vJUo,4320
4
4
  AOT_biomaps/AOT_Acoustic/AcousticEnums.py,sha256=s5kXa6jKzbS4btwbubrVcynLOr0yg5tth5vL_FGfbMk,1802
5
5
  AOT_biomaps/AOT_Acoustic/AcousticTools.py,sha256=al7xXKMY5e-qQQ7nrQVPVAmqYiB320OluNlY6ti8iKc,7539
6
6
  AOT_biomaps/AOT_Acoustic/FocusedWave.py,sha256=3kGKKDx_3Msy5COYqIwzROPORGWvNjw8UsDanBfkMXE,11037
@@ -22,7 +22,7 @@ AOT_biomaps/AOT_Recon/AlgebraicRecon.py,sha256=66QWpX3KeNC05IqQh-SzxNz5z1JBo7BO2
22
22
  AOT_biomaps/AOT_Recon/AnalyticRecon.py,sha256=vjeTUnaZrtnLHnx6goseeJsd165KbSugQYwUXJFXapU,7596
23
23
  AOT_biomaps/AOT_Recon/BayesianRecon.py,sha256=gJVSPjt94g40hmSEaVm4LBbQ3B-FgyDk3iey9OOi3bk,16427
24
24
  AOT_biomaps/AOT_Recon/DeepLearningRecon.py,sha256=RfVcEsi4GeGqJn0_SPxwQPQx6IQjin79WKh2UarMRLI,1383
25
- AOT_biomaps/AOT_Recon/PrimalDualRecon.py,sha256=fM38hQZjyGFTFWjkCSpdDazSAE7gR6cSOdsiQhHQUzg,10218
25
+ AOT_biomaps/AOT_Recon/PrimalDualRecon.py,sha256=6d0upWIbJOMcN0YrOIxxsp6Hzo82bm-l4DXsBLmqdAM,10232
26
26
  AOT_biomaps/AOT_Recon/ReconEnums.py,sha256=oyT9qIfEpE_ChPQihM8-6b0UOtNmuE4weUpO8lJCB38,18641
27
27
  AOT_biomaps/AOT_Recon/ReconTools.py,sha256=zPGwoDHX5H7v78onHAlFwZ8OdjZVsX6PAJFrTiikqEc,10608
28
28
  AOT_biomaps/AOT_Recon/__init__.py,sha256=LDbNpsjS8_TJrXMKzkpzSAj5trVuCW57AWQaJBrzd0I,244
@@ -37,7 +37,7 @@ AOT_biomaps/AOT_Recon/AOT_PotentialFunctions/Huber.py,sha256=dRd1t5OBag_gVmfji3L
37
37
  AOT_biomaps/AOT_Recon/AOT_PotentialFunctions/Quadratic.py,sha256=wTbzcXxMdEl9ReEXrL43DOJQecokBwJYU_s2kQUASZY,2545
38
38
  AOT_biomaps/AOT_Recon/AOT_PotentialFunctions/RelativeDifferences.py,sha256=ZlWaKsNPCMfy4fWxYFT2pSoKMbysQkJH4N1WbbWncq4,2493
39
39
  AOT_biomaps/AOT_Recon/AOT_PotentialFunctions/__init__.py,sha256=RwrJdLOFbAFBFnRxo5xdlOyeZgtQRDaRWDN9-uCGUiY,84
40
- aot_biomaps-2.9.224.dist-info/METADATA,sha256=4huRaGkhsJE5Usj2kS3HnTgyvebo0nLWdjLu0uQlco8,663
41
- aot_biomaps-2.9.224.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
- aot_biomaps-2.9.224.dist-info/top_level.txt,sha256=6STF-lT4kaAnBHJYCripmN5mZABoHjMuY689JdiDphk,12
43
- aot_biomaps-2.9.224.dist-info/RECORD,,
40
+ aot_biomaps-2.9.225.dist-info/METADATA,sha256=9yYwR_mI8Kz3leZ6wcUczPqi-jFuIc3L4r1o5CbVdnM,663
41
+ aot_biomaps-2.9.225.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
+ aot_biomaps-2.9.225.dist-info/top_level.txt,sha256=6STF-lT4kaAnBHJYCripmN5mZABoHjMuY689JdiDphk,12
43
+ aot_biomaps-2.9.225.dist-info/RECORD,,