AOT-biomaps 2.9.218__py3-none-any.whl → 2.9.219__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.
- AOT_biomaps/AOT_Recon/AlgebraicRecon.py +32 -15
- AOT_biomaps/AOT_Recon/PrimalDualRecon.py +0 -6
- AOT_biomaps/__init__.py +2 -1
- {aot_biomaps-2.9.218.dist-info → aot_biomaps-2.9.219.dist-info}/METADATA +1 -1
- {aot_biomaps-2.9.218.dist-info → aot_biomaps-2.9.219.dist-info}/RECORD +7 -7
- {aot_biomaps-2.9.218.dist-info → aot_biomaps-2.9.219.dist-info}/WHEEL +0 -0
- {aot_biomaps-2.9.218.dist-info → aot_biomaps-2.9.219.dist-info}/top_level.txt +0 -0
|
@@ -700,29 +700,46 @@ class AlgebraicRecon(Recon):
|
|
|
700
700
|
if withTumor:
|
|
701
701
|
if self.experiment.AOsignal_withTumor is None:
|
|
702
702
|
raise ValueError("AO signal with tumor is not available. Please generate AO signal with tumor the experiment first in the experiment object.")
|
|
703
|
-
else:
|
|
704
|
-
y = self.experiment.AOsignal_withTumor
|
|
705
703
|
else:
|
|
706
704
|
if self.experiment.AOsignal_withoutTumor is None:
|
|
707
705
|
raise ValueError("AO signal without tumor is not available. Please generate AO signal without tumor the experiment first in the experiment object.")
|
|
708
|
-
else:
|
|
709
|
-
y = self.experiment.AOsignal_withoutTumor
|
|
710
706
|
|
|
711
707
|
if self.optimizer.value == OptimizerType.MLEM.value:
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
708
|
+
if withTumor:
|
|
709
|
+
self.reconPhantom, self.indices = MLEM(SMatrix=self.SMatrix,
|
|
710
|
+
y=self.experiment.AOsignal_withTumor,
|
|
711
|
+
numIterations=self.numIterations,
|
|
712
|
+
isSavingEachIteration=self.isSavingEachIteration,
|
|
713
|
+
withTumor=withTumor,
|
|
714
|
+
use_multi_gpu= self.isMultiGPU,
|
|
715
|
+
use_numba= self.isMultiCPU,
|
|
716
|
+
max_saves=self.maxSaves
|
|
717
|
+
)
|
|
718
|
+
else:
|
|
719
|
+
self.reconLaser, self.indices = MLEM(SMatrix=self.SMatrix,
|
|
720
|
+
y=self.experiment.AOsignal_withoutTumor,
|
|
721
|
+
numIterations=self.numIterations,
|
|
722
|
+
isSavingEachIteration=self.isSavingEachIteration,
|
|
723
|
+
withTumor=withTumor,
|
|
724
|
+
use_multi_gpu= self.isMultiGPU,
|
|
725
|
+
use_numba= self.isMultiCPU,
|
|
726
|
+
max_saves=self.maxSaves
|
|
727
|
+
)
|
|
721
728
|
elif self.optimizer.value == OptimizerType.LS.value:
|
|
722
729
|
if self.alpha is None:
|
|
723
730
|
raise ValueError("Alpha (regularization parameter) must be set for LS reconstruction.")
|
|
724
|
-
|
|
725
|
-
|
|
731
|
+
if withTumor:
|
|
732
|
+
self.reconPhantom, self.indices = LS(SMatrix=self.SMatrix,
|
|
733
|
+
y=self.experiment.AOsignal_withTumor,
|
|
734
|
+
numIterations=self.numIterations,
|
|
735
|
+
isSavingEachIteration=self.isSavingEachIteration,
|
|
736
|
+
withTumor=withTumor,
|
|
737
|
+
alpha=self.alpha,
|
|
738
|
+
max_saves=self.maxSaves,
|
|
739
|
+
)
|
|
740
|
+
else:
|
|
741
|
+
self.reconLaser, self.indices = LS(SMatrix=self.SMatrix,
|
|
742
|
+
y=self.experiment.AOsignal_withoutTumor,
|
|
726
743
|
numIterations=self.numIterations,
|
|
727
744
|
isSavingEachIteration=self.isSavingEachIteration,
|
|
728
745
|
withTumor=withTumor,
|
|
@@ -148,12 +148,6 @@ class PrimalDualRecon(AlgebraicRecon):
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
def _convexReconPython(self, withTumor):
|
|
151
|
-
if withTumor:
|
|
152
|
-
y=self.experiment.AOsignal_withTumor
|
|
153
|
-
|
|
154
|
-
else:
|
|
155
|
-
y=self.experiment.AOsignal_withoutTumor
|
|
156
|
-
|
|
157
151
|
if self.optimizer == OptimizerType.CP_TV:
|
|
158
152
|
if withTumor:
|
|
159
153
|
self.reconPhantom, self.indices = CP_TV(
|
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.
|
|
85
|
+
__version__ = '2.9.219'
|
|
86
86
|
__process__ = config.get_process()
|
|
87
87
|
|
|
88
88
|
def initialize(process=None):
|
|
@@ -253,5 +253,6 @@ def initialize(process=None):
|
|
|
253
253
|
|
|
254
254
|
|
|
255
255
|
|
|
256
|
+
|
|
256
257
|
|
|
257
258
|
|
|
@@ -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=
|
|
3
|
+
AOT_biomaps/__init__.py,sha256=38jdZ4Xsj9DQtz91An6hfnZq6apgWu5JkmlaeQ4el30,4308
|
|
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
|
|
@@ -18,11 +18,11 @@ AOT_biomaps/AOT_Optic/Laser.py,sha256=uzQwxswjU0kZWix3CmZLoWmhsBa3VhN27STprNv-xB
|
|
|
18
18
|
AOT_biomaps/AOT_Optic/OpticEnums.py,sha256=b349_JyjHqQohmjK4Wke-A_HLGaqb3_BKbyUqFC4jxY,499
|
|
19
19
|
AOT_biomaps/AOT_Optic/__init__.py,sha256=HSUVhfz0NzwHHZZ9KP9Xyfu33IgP_rYJX86J-gEROlo,321
|
|
20
20
|
AOT_biomaps/AOT_Optic/_mainOptic.py,sha256=Wk63CcgWbU-ygMfjNK80islaUbGGJpTXgZY3_C2KQNY,8179
|
|
21
|
-
AOT_biomaps/AOT_Recon/AlgebraicRecon.py,sha256=
|
|
21
|
+
AOT_biomaps/AOT_Recon/AlgebraicRecon.py,sha256=g1JEwsi2BFljptPNzNhe0qKiua2DVYNYVUb6zMPrsWU,42833
|
|
22
22
|
AOT_biomaps/AOT_Recon/AnalyticRecon.py,sha256=vjeTUnaZrtnLHnx6goseeJsd165KbSugQYwUXJFXapU,7596
|
|
23
23
|
AOT_biomaps/AOT_Recon/BayesianRecon.py,sha256=WeE_512cBVOB__72132Ifvgb0E40gkjmQTXnwY_cZtk,16357
|
|
24
24
|
AOT_biomaps/AOT_Recon/DeepLearningRecon.py,sha256=RfVcEsi4GeGqJn0_SPxwQPQx6IQjin79WKh2UarMRLI,1383
|
|
25
|
-
AOT_biomaps/AOT_Recon/PrimalDualRecon.py,sha256=
|
|
25
|
+
AOT_biomaps/AOT_Recon/PrimalDualRecon.py,sha256=RiQBHZrZ3CICb4GxwBJVIdNrKfkZz7o9RJLNYnl-XlA,9945
|
|
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.
|
|
41
|
-
aot_biomaps-2.9.
|
|
42
|
-
aot_biomaps-2.9.
|
|
43
|
-
aot_biomaps-2.9.
|
|
40
|
+
aot_biomaps-2.9.219.dist-info/METADATA,sha256=l0YeqS4U6dqjUzoYiOWl0r-gjEed92_LwnWGDajLEtA,663
|
|
41
|
+
aot_biomaps-2.9.219.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
42
|
+
aot_biomaps-2.9.219.dist-info/top_level.txt,sha256=6STF-lT4kaAnBHJYCripmN5mZABoHjMuY689JdiDphk,12
|
|
43
|
+
aot_biomaps-2.9.219.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|