AOT-biomaps 2.9.361__py3-none-any.whl → 2.9.363__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_Experiment/Tomography.py +19 -2
- AOT_biomaps/__init__.py +3 -1
- {aot_biomaps-2.9.361.dist-info → aot_biomaps-2.9.363.dist-info}/METADATA +1 -1
- {aot_biomaps-2.9.361.dist-info → aot_biomaps-2.9.363.dist-info}/RECORD +6 -6
- {aot_biomaps-2.9.361.dist-info → aot_biomaps-2.9.363.dist-info}/WHEEL +0 -0
- {aot_biomaps-2.9.361.dist-info → aot_biomaps-2.9.363.dist-info}/top_level.txt +0 -0
|
@@ -340,8 +340,25 @@ class Tomography(Experiment):
|
|
|
340
340
|
if self.AOsignal_withoutTumor is not None:
|
|
341
341
|
self.AOsignal_withoutTumor = self.AOsignal_withoutTumor[:, index]
|
|
342
342
|
self.AcousticFields = newAcousticFields
|
|
343
|
-
self.theta =
|
|
344
|
-
|
|
343
|
+
self.theta = [field.angle for field in newAcousticFields]
|
|
344
|
+
|
|
345
|
+
def selectDecimations(self, decimations):
|
|
346
|
+
if self.AOsignal_withTumor is None and self.AOsignal_withoutTumor is None:
|
|
347
|
+
raise ValueError("AO signals are not initialized. Please load or generate the AO signals first.")
|
|
348
|
+
if self.AcousticFields is None or len(self.AcousticFields) == 0:
|
|
349
|
+
raise ValueError("AcousticFields is not initialized. Please generate the system matrix first.")
|
|
350
|
+
newAcousticFields = []
|
|
351
|
+
index = []
|
|
352
|
+
for i, field in enumerate(self.AcousticFields):
|
|
353
|
+
if field.f_s in decimations:
|
|
354
|
+
newAcousticFields.append(field)
|
|
355
|
+
index.append(i)
|
|
356
|
+
if self.AOsignal_withTumor is not None:
|
|
357
|
+
self.AOsignal_withTumor = self.AOsignal_withTumor[:, index]
|
|
358
|
+
if self.AOsignal_withoutTumor is not None:
|
|
359
|
+
self.AOsignal_withoutTumor = self.AOsignal_withoutTumor[:, index]
|
|
360
|
+
self.AcousticFields = newAcousticFields
|
|
361
|
+
self.decimations = [field.f_s for field in newAcousticFields]
|
|
345
362
|
|
|
346
363
|
def selectPatterns(self, pattern_names):
|
|
347
364
|
if self.AOsignal_withTumor is None and self.AOsignal_withoutTumor is None:
|
AOT_biomaps/__init__.py
CHANGED
|
@@ -85,7 +85,7 @@ from .AOT_Recon.AOT_PotentialFunctions.RelativeDifferences import *
|
|
|
85
85
|
from .Config import config
|
|
86
86
|
from .Settings import *
|
|
87
87
|
|
|
88
|
-
__version__ = '2.9.
|
|
88
|
+
__version__ = '2.9.363'
|
|
89
89
|
__process__ = config.get_process()
|
|
90
90
|
|
|
91
91
|
def initialize(process=None):
|
|
@@ -222,6 +222,8 @@ def initialize(process=None):
|
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
|
|
225
|
+
|
|
226
|
+
|
|
225
227
|
|
|
226
228
|
|
|
227
229
|
|
|
@@ -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=zk35QRhwc7B3tvwuqdebCl3ta7phMGwg-eZJn4f5bSU,4388
|
|
4
4
|
AOT_biomaps/AOT_Acoustic/AcousticEnums.py,sha256=s5kXa6jKzbS4btwbubrVcynLOr0yg5tth5vL_FGfbMk,1802
|
|
5
5
|
AOT_biomaps/AOT_Acoustic/AcousticTools.py,sha256=h2sCtGVcDtyLtEF1q7sLZmuWivWmesVGUBPnW-ndQqc,7535
|
|
6
6
|
AOT_biomaps/AOT_Acoustic/FocusedWave.py,sha256=3kGKKDx_3Msy5COYqIwzROPORGWvNjw8UsDanBfkMXE,11037
|
|
@@ -11,7 +11,7 @@ AOT_biomaps/AOT_Acoustic/__init__.py,sha256=t9M2rRqa_L9pk7W2FeELTkHEMuP4DBr4gBRl
|
|
|
11
11
|
AOT_biomaps/AOT_Acoustic/_mainAcoustic.py,sha256=RdmhRF1i0KAlpsP7_wnZ7F4J27br3eUc4XR91Qq7C64,44158
|
|
12
12
|
AOT_biomaps/AOT_Experiment/ExperimentTools.py,sha256=aFvJw6J_jfFVTDFnG7J3a61SHEgORdZKZS0UI82VMaY,2637
|
|
13
13
|
AOT_biomaps/AOT_Experiment/Focus.py,sha256=B2nBawmv-NG2AWJx9zgQ8GlN6aFB9FwTSqX-M-phKXg,3193
|
|
14
|
-
AOT_biomaps/AOT_Experiment/Tomography.py,sha256=
|
|
14
|
+
AOT_biomaps/AOT_Experiment/Tomography.py,sha256=jVygQy-uOkBL2l-F_D9DpkhAS0WJNAvpIeqq1ybMP8s,37484
|
|
15
15
|
AOT_biomaps/AOT_Experiment/__init__.py,sha256=H9zMLeBLA6uhbaHohAa-2u5mDDxqJi8oE5c6tShdQp8,308
|
|
16
16
|
AOT_biomaps/AOT_Experiment/_mainExperiment.py,sha256=zSfuNrsz7nhiKrGIdK6CAXjlI2T6qYC5-JXHFgPNzhc,24674
|
|
17
17
|
AOT_biomaps/AOT_Optic/Absorber.py,sha256=jEodzRy7gkEH-wbazVasRQiri0dU16BfapmR-qnTSvM,867
|
|
@@ -42,7 +42,7 @@ AOT_biomaps/AOT_Recon/AOT_PotentialFunctions/__init__.py,sha256=RwrJdLOFbAFBFnRx
|
|
|
42
42
|
AOT_biomaps/AOT_Recon/AOT_SparseSMatrix/SparseSMatrix_CSR.py,sha256=RACc2P5oxmp0uPLAGnNj9mEtAxa_OlepNgCawKij3jI,12062
|
|
43
43
|
AOT_biomaps/AOT_Recon/AOT_SparseSMatrix/SparseSMatrix_SELL.py,sha256=ti3dZQsb_Uu62C7Bn65Z-yf-R5NKCFsmnBT5GlLd_HY,15138
|
|
44
44
|
AOT_biomaps/AOT_Recon/AOT_SparseSMatrix/__init__.py,sha256=8nou-hqjQjuCTLhoL5qv4EM_lMPFviAZAZKSPhi84jE,67
|
|
45
|
-
aot_biomaps-2.9.
|
|
46
|
-
aot_biomaps-2.9.
|
|
47
|
-
aot_biomaps-2.9.
|
|
48
|
-
aot_biomaps-2.9.
|
|
45
|
+
aot_biomaps-2.9.363.dist-info/METADATA,sha256=VXAfn0-XO5Slj_c2LUfydgcrNxIlK9r13cdwD0S9UnA,700
|
|
46
|
+
aot_biomaps-2.9.363.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
47
|
+
aot_biomaps-2.9.363.dist-info/top_level.txt,sha256=6STF-lT4kaAnBHJYCripmN5mZABoHjMuY689JdiDphk,12
|
|
48
|
+
aot_biomaps-2.9.363.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|