mrzerocore 0.2.11__cp37-abi3-win_amd64.whl → 0.2.12__cp37-abi3-win_amd64.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.
- MRzeroCore/_prepass.pyd +0 -0
- MRzeroCore/phantom/brainweb/__init__.py +1 -1
- MRzeroCore/phantom/voxel_grid_phantom.py +4 -5
- {MRzeroCore-0.2.11.dist-info → MRzeroCore-0.2.12.dist-info}/METADATA +2 -2
- {MRzeroCore-0.2.11.dist-info → MRzeroCore-0.2.12.dist-info}/RECORD +7 -7
- {MRzeroCore-0.2.11.dist-info → MRzeroCore-0.2.12.dist-info}/WHEEL +0 -0
- {MRzeroCore-0.2.11.dist-info → MRzeroCore-0.2.12.dist-info}/license_files/LICENSE +0 -0
MRzeroCore/_prepass.pyd
CHANGED
|
Binary file
|
|
@@ -151,7 +151,7 @@ def generate_brainweb_phantoms(
|
|
|
151
151
|
print("Adding tissue to phantom", end="", flush=True)
|
|
152
152
|
maps["PD_map"] += tissue_data["PD"] * tissue_map * noise()
|
|
153
153
|
maps["T1_map"] += tissue_data["T1"] * tissue_map * noise()
|
|
154
|
-
maps["T2_map"] += tissue_data["T2"] * noise()
|
|
154
|
+
maps["T2_map"] += tissue_data["T2"] * tissue_map * noise()
|
|
155
155
|
maps["T2dash_map"] += tissue_data["T2'"] * tissue_map * noise()
|
|
156
156
|
maps["D_map"] += tissue_data["D"] * tissue_map * noise()
|
|
157
157
|
print(" - done")
|
|
@@ -157,6 +157,10 @@ class VoxelGridPhantom:
|
|
|
157
157
|
T2dash = torch.tensor(data['T2dash_map'])
|
|
158
158
|
PD = torch.tensor(data['PD_map'])
|
|
159
159
|
D = torch.tensor(data['D_map'])
|
|
160
|
+
try:
|
|
161
|
+
size = torch.tensor(data['FOV'])
|
|
162
|
+
except KeyError:
|
|
163
|
+
size = torch.tensor([0.192, 0.192, 0.192])
|
|
160
164
|
|
|
161
165
|
# Generate a somewhat plausible B0 and B1 map.
|
|
162
166
|
# Visually fitted to look similar to the numerical_brain_cropped
|
|
@@ -174,11 +178,6 @@ class VoxelGridPhantom:
|
|
|
174
178
|
B0 -= (B0 * weight).sum()
|
|
175
179
|
B1 /= (B1 * weight).sum()
|
|
176
180
|
|
|
177
|
-
try:
|
|
178
|
-
size = torch.tensor(data['FOV'])
|
|
179
|
-
except KeyError:
|
|
180
|
-
size = torch.tensor([0.192, 0.192, 0.192])
|
|
181
|
-
|
|
182
181
|
return cls(
|
|
183
182
|
PD, T1, T2, T2dash, D, B0, B1[None, ...],
|
|
184
183
|
torch.ones(1, *PD.shape), size,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MRzeroCore
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.12
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -18,9 +18,9 @@ Summary: Core functionality of MRzero
|
|
|
18
18
|
Author-email: Jonathan Endres <jonathan.endres@uk-erlangen.de>
|
|
19
19
|
Requires-Python: >=3.9
|
|
20
20
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
21
|
+
Project-URL: Repository, https://github.com/MRsources/MRzero-Core
|
|
21
22
|
Project-URL: Documentation, https://mrzero-core.readthedocs.io/
|
|
22
23
|
Project-URL: MRzero-Paper, https://arxiv.org/abs/2002.04265
|
|
23
|
-
Project-URL: Repository, https://github.com/MRsources/MRzero-Core
|
|
24
24
|
|
|
25
25
|
[](https://mrzero-core.readthedocs.io/en/latest/?badge=latest)
|
|
26
26
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
MRzeroCore-0.2.
|
|
2
|
-
MRzeroCore-0.2.
|
|
3
|
-
MRzeroCore-0.2.
|
|
1
|
+
MRzeroCore-0.2.12.dist-info/METADATA,sha256=Bbz05wbitS0vBO9HNYxnuOVtFPfzqjx4Z_bEvGeLCy0,3801
|
|
2
|
+
MRzeroCore-0.2.12.dist-info/WHEEL,sha256=ZnSmVnashXVUiLCKmp20reANrPJdUjOt4GHgJoJkZ3E,96
|
|
3
|
+
MRzeroCore-0.2.12.dist-info/license_files/LICENSE,sha256=rd_IFJ484uAluv8CigP2CpXg4l2GJLLKENqB6-RXPp4,35112
|
|
4
4
|
MRzeroCore/phantom/brainweb/brainweb_data.json,sha256=El9J5dfEIwGi4_SoRif6ic6IVSMKh01jK0hNRbBYNqA,1794
|
|
5
5
|
MRzeroCore/phantom/brainweb/brainweb_data_sources.txt,sha256=Sh6NFLU1bhdaD0pp12D_Hc70cA_UC1s7KdHcuoGTKuA,1853
|
|
6
6
|
MRzeroCore/phantom/brainweb/output/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
MRzeroCore/phantom/brainweb/__init__.py,sha256=
|
|
7
|
+
MRzeroCore/phantom/brainweb/__init__.py,sha256=f0mGtGMO0oi4d-HyRlvE042UgLD-jgsVKLF-7h9JD1g,6841
|
|
8
8
|
MRzeroCore/phantom/custom_voxel_phantom.py,sha256=Pt5X1KjOgzNo6ebINyl4oT8drFTWp4NU3Mi3e5a0YVM,10413
|
|
9
9
|
MRzeroCore/phantom/sim_data.py,sha256=rL0eRk_CuvzxIHrjcjHA2nexYEBieu70B2nS6VlhcxQ,7118
|
|
10
|
-
MRzeroCore/phantom/voxel_grid_phantom.py,sha256=
|
|
10
|
+
MRzeroCore/phantom/voxel_grid_phantom.py,sha256=h1UAsOzQRQPBuC6m_qpIj2eTYtjBl2Ogz_Kkt4ZQH3E,16627
|
|
11
11
|
MRzeroCore/pulseq/exporter.py,sha256=RlIHkXNVmQy-ywixIPeWeICnb9jq4_1_9O8HujBigLs,17226
|
|
12
12
|
MRzeroCore/pulseq/exporter_v2.py,sha256=GVnhC6bmbxbYq4CFrBbL2nj98B_u3OVglOt50J19pkk,30554
|
|
13
13
|
MRzeroCore/pulseq/helpers.py,sha256=ZEtctXy7qm6BLexcwNRDd8xPSBFNiy5dUeifOo5bYkw,8774
|
|
@@ -32,5 +32,5 @@ MRzeroCore/simulation/main_pass.py,sha256=DNXEJmN7AEWuqNbMma6AWqJpHH4ihhC3YRJKRh
|
|
|
32
32
|
MRzeroCore/simulation/pre_pass.py,sha256=5wmXKxgFeGwA7yrqTkOjcWoFuGuRYEPzedRGqkx2Evg,5117
|
|
33
33
|
MRzeroCore/util.py,sha256=39TPselHu7f218BRdjHB4_kCSPnFuCC45YmdGotc4uA,11460
|
|
34
34
|
MRzeroCore/__init__.py,sha256=8WViV9GQRwnksnopAAfKWRmtRYk75DC3ke4OQwLx-fU,850
|
|
35
|
-
MRzeroCore/_prepass.pyd,sha256=
|
|
36
|
-
MRzeroCore-0.2.
|
|
35
|
+
MRzeroCore/_prepass.pyd,sha256=2Qziu8nvKPnrrYfsWpSwTrGkHhbspMEcSgwiDWTXTow,402944
|
|
36
|
+
MRzeroCore-0.2.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|