Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions examples/t1_molli_bssfp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"metadata": {},
"outputs": [],
"source": [
"image_matrix_size = [128, 128]\n",
"image_matrix_size = [64, 64]\n",
"\n",
"tmp = tempfile.TemporaryDirectory()\n",
"fname_mrd = Path(tmp.name) / 't1_molli.mrd'"
Expand Down Expand Up @@ -140,7 +140,7 @@
"outputs": [],
"source": [
"mr0_sequence = mr0.Sequence.import_file(str(fname_seq.with_suffix('.seq')))\n",
"signal, ktraj_adc = mr0.util.simulate(mr0_sequence, phantom, accuracy=1e-1)\n",
"signal, ktraj_adc = mr0.util.simulate(mr0_sequence, phantom, accuracy=1e-2)\n",
"mr0.sig_to_mrd(fname_mrd, signal, sequence)"
]
},
Expand Down Expand Up @@ -270,15 +270,7 @@
"\n",
"relative_error = np.sum(np.abs(t1_input - t1_measured)) / np.sum(np.abs(t1_input))\n",
"print(f'Relative error {relative_error}')\n",
"assert relative_error < 0.15"
]
},
{
"cell_type": "markdown",
"id": "19",
"metadata": {},
"source": [
"The T1 times of the cerebrospinal fluid are much longer than the T1 times expected in the heart. They cannot be accurately estimated with this cardiac MOLLI sequence."
"assert relative_error < 0.08"
]
}
],
Expand Down
Loading