mrzerocore 0.4.3__tar.gz → 0.4.4__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.
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/.github/workflows/playground_test.yml +2 -2
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/.github/workflows/simulation_test.yml +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/CHANGELOG.md +10 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/Cargo.lock +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/Cargo.toml +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/PKG-INFO +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_DREAM_STE_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_DWI_SE_EPI.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_EPI_2D_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_FID_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_FLASH_2D_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_GRE_to_FLASH.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_RARE_2D_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_SE_CPMG_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_STE_3pulses_5echoes_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_TSE_2D_multi_shot_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_bSSFP_2D_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_diffusion_prep_STEAM_2D_seq.ipynb +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/SUMMARY.md +6 -0
- mrzerocore-0.4.4/documentation/src/pulseqzero-math.md +55 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/pyproject.toml +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/nifti_phantom.py +1 -1
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/tissue_dict.py +21 -15
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/.github/workflows/deploy_docs.yml +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/.github/workflows/pypi_publish.yml +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/.gitignore +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/EULA.txt +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/LICENSE +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/README.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/book.toml +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/AdjDataUser2gB0_transversal_0.08moving_average.mat +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/Pulseq_zero_FLASH_FAopt_PSFtask.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/Pulseq_zero_TSE_FAopt_SARtask.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/flash.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/flash_DWI.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/mr0_CS_cartesian_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/mr0_CS_radial_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/mr0_DWI_GRE_2D_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/mr0_spiral_GRE.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr00_FLASH_2D_ernstAngle_opt.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_DREAM_STID_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_RARE_2D_seq_multi_shot.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_opt_FLASH_2D_IR_Fit_T1.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_opt_FLASH_2D_IR_voxelNN_T1.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_pypulseq_exmpls_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_upload_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/numerical_brain_cropped.mat +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/ptx_phantom.p +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/pulseq_flash.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/pulseq_rf_shim.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/pulseq_sim_pTx.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/pulseq_zero_DESC_demo.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/reference_bssfp_data_feb2025.npz +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/seqs/flash pTx CP.seq +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/seqs/flash pTx EP.seq +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/seqs/flash pTx QM.seq +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/subject05.npz +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/Pulseq_2D_density_adapted_radial.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/gpt4mr.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/improved_mr0_RARE_2D_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/improved_mr0_RARE_2D_seq_nonsel.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/mr0_EPI_2D_with_ORC_seq.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/mr0_burst_TSE.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/mr0_spiral_GRE.ipynb +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/numerical_brain_cropped.mat +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/README.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-nifti.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-phantom.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-reconstruction.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-sequence.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-simulation.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-unsorted.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api-util.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/api.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/faq.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/integration-matlab.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/integration-pulseq.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/integration-pulseqzero.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/integration.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/literature.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/logo.png +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/nifti-coords.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/nifti-generate.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/nifti-spec.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/nifti.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/playground.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/src/state_selection.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/__init__.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/.gitignore +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/__init__.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/brainweb_data.json +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/brainweb_data_sources.txt +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/output/.gitkeep +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/custom_voxel_phantom.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/sim_data.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/voxel_grid_phantom.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/exporter.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/exporter_v2.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/helpers.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_exporter.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/__init__.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/adc.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/helpers.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulse.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/__init__.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/adc.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/block.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/definitons.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/gradient.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/helpers.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/rf.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/trap.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/spoiler.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/reconstruction.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/sequence.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/simulation/isochromat_sim.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/simulation/main_pass.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/simulation/pre_pass.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/simulation/sig_to_mrd.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/util.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/src/lib.rs +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/src/pre_pass.rs +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/README.md +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/__init__.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/playground_test.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/config.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/generate_actual_files.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/generate_files.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/generate_ref_files.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/generate_seq_files.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/test_simulation.ps1 +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/simulation_test/test_simulation.py +0 -0
- {mrzerocore-0.4.3 → mrzerocore-0.4.4}/tests/utils.py +0 -0
|
@@ -52,10 +52,10 @@ jobs:
|
|
|
52
52
|
|
|
53
53
|
- name: Install dependencies
|
|
54
54
|
run: |
|
|
55
|
-
pip install pypulseq &> /dev/null
|
|
55
|
+
pip install pypulseq==1.4.2post1 &> /dev/null
|
|
56
56
|
pip install pydisseqt
|
|
57
|
-
pip install MRzeroCore --no-deps
|
|
58
57
|
pip install ismrmrd
|
|
58
|
+
pip install MRzeroCore --no-deps
|
|
59
59
|
pip install torchkbnufft PyWavelets tqdm scikit-image
|
|
60
60
|
wget https://github.com/MRsources/MRzero-Core/raw/main/documentation/playground_mr0/numerical_brain_cropped.mat &> /dev/null
|
|
61
61
|
pip install jupyter nbconvert
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
- 0.4.4
|
|
2
|
+
- Fix: support for empty tissue masks in NIfTI phantom
|
|
3
|
+
- Fix: support for int - constants in NIfTI phantom
|
|
4
|
+
- Remove unsupported platforms from build (32bit windows, intel mac)
|
|
5
|
+
- 0.4.3
|
|
6
|
+
- Fix python package normalization
|
|
7
|
+
- 0.4.2
|
|
8
|
+
- Add NIfTI phantom support
|
|
9
|
+
- Fix custom voxel phantom plot
|
|
10
|
+
- Make isochromat sim GPU compatible
|
|
1
11
|
- 0.4.0
|
|
2
12
|
- Integrate ISMRMD exporter
|
|
3
13
|
- Update documentation
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Differentiable Rounding Helpers for Pulseq Zero Sequences
|
|
2
|
+
|
|
3
|
+
This module provides **differentiable stand-ins** for common rounding operations (`ceil`, `floor`, `round`) used in **Pulseq sequences**.
|
|
4
|
+
They are designed to keep the optimization pipeline differentiable by **passing gradients through unchanged**, effectively treating these operations as the identity during backpropagation.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Design idea
|
|
10
|
+
|
|
11
|
+
* **Forward pass**: Behaves exactly like the corresponding PyTorch / NumPy rounding operation.
|
|
12
|
+
* **Backward pass**: Returns the incoming gradient unchanged.
|
|
13
|
+
* **Use case**: Allows differentiable optimization of otherwise discrete parameters.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Functional Wrappers
|
|
21
|
+
|
|
22
|
+
To use the wrapper functions:
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
from pulseqzero import round, ceil, floor
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### `ceil(x)`
|
|
30
|
+
|
|
31
|
+
Differentiable version of `torch.ceil`.
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
y = ceil(x)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### `floor(x)`
|
|
38
|
+
|
|
39
|
+
Differentiable version of `torch.floor`.
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
y = floor(x)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### `round(x)`
|
|
46
|
+
|
|
47
|
+
Differentiable version of `torch.round`.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
y = round(x)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
|
|
@@ -173,21 +173,27 @@ class TissueDict(dict[str, VoxelGridPhantom]):
|
|
|
173
173
|
) -> SimData:
|
|
174
174
|
data_list = [self[tissue].build(PD_threshold, voxel_shape) for tissue in self]
|
|
175
175
|
|
|
176
|
-
|
|
177
|
-
PD
|
|
178
|
-
T1
|
|
179
|
-
T2
|
|
180
|
-
T2dash
|
|
181
|
-
D
|
|
182
|
-
B0
|
|
183
|
-
B1
|
|
184
|
-
coil_sens
|
|
185
|
-
voxel_pos
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
176
|
+
kwargs = {
|
|
177
|
+
"PD": torch.cat([obj.PD for obj in data_list]),
|
|
178
|
+
"T1": torch.cat([obj.T1 for obj in data_list]),
|
|
179
|
+
"T2": torch.cat([obj.T2 for obj in data_list]),
|
|
180
|
+
"T2dash": torch.cat([obj.T2dash for obj in data_list]),
|
|
181
|
+
"D": torch.cat([obj.D for obj in data_list]),
|
|
182
|
+
"B0": torch.cat([obj.B0 for obj in data_list]),
|
|
183
|
+
"B1": torch.cat([obj.B1 for obj in data_list], 1),
|
|
184
|
+
"coil_sens": torch.cat([obj.coil_sens for obj in data_list], 1),
|
|
185
|
+
"voxel_pos": torch.cat([obj.voxel_pos for obj in data_list], 0),
|
|
186
|
+
"size": data_list[0].size,
|
|
187
|
+
"nyquist": data_list[0].nyquist,
|
|
188
|
+
"dephasing_func": data_list[0].dephasing_func,
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
# Only add tissue_masks if any object has it non-empty
|
|
192
|
+
if any(obj.tissue_masks for obj in data_list):
|
|
193
|
+
kwargs["tissue_masks"] = torch.stack([obj.tissue_masks for obj in data_list])
|
|
194
|
+
|
|
195
|
+
return SimData(**kwargs)
|
|
196
|
+
|
|
191
197
|
|
|
192
198
|
# ============================
|
|
193
199
|
# Helpers for importing NIfTIs
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/flash_DWI.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/legacy_seqs/mr0_spiral_GRE.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_RARE_2D_seq_multi_shot.ipynb
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_opt_FLASH_2D_IR_Fit_T1.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/mr0_pypulseq_exmpls_seq.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/numerical_brain_cropped.mat
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/pulseq_zero_DESC_demo.ipynb
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/reference_bssfp_data_feb2025.npz
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/mr0_burst_TSE.ipynb
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/documentation/playground_mr0/unsorted/mr0_spiral_GRE.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/phantom/brainweb/brainweb_data_sources.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/__init__.py
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/adc.py
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/block.py
RENAMED
|
File without changes
|
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/gradient.py
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/helpers.py
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/rf.py
RENAMED
|
File without changes
|
{mrzerocore-0.4.3 → mrzerocore-0.4.4}/python/MRzeroCore/pulseq/pulseq_loader/pulseq_file/trap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|