From 5311951be72dcba400e42b96ced6a4a2fde69dc5 Mon Sep 17 00:00:00 2001 From: Felix Zimmermann Date: Mon, 13 Jan 2025 00:34:30 +0100 Subject: [PATCH] update --- .../iterative_sense_reconstruction_with_regularization.ipynb | 4 ++-- .../iterative_sense_reconstruction_with_regularization.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/notebooks/iterative_sense_reconstruction_with_regularization.ipynb b/examples/notebooks/iterative_sense_reconstruction_with_regularization.ipynb index e97f61a2..e32891d5 100644 --- a/examples/notebooks/iterative_sense_reconstruction_with_regularization.ipynb +++ b/examples/notebooks/iterative_sense_reconstruction_with_regularization.ipynb @@ -181,7 +181,7 @@ "metadata": {}, "source": [ "##### Image $x$ from undersampled data\n", - "We now reconstruct the undersampled image using the fully sampled image first wthout regularization,\n", + "We now reconstruct the undersampled image using the fully sampled image first without regularization,\n", "and with with an regularization image." ] }, @@ -404,7 +404,7 @@ "source": [ "show_images(\n", " img_us_regularized_iterative_sense.rss()[0, 0],\n", - " img_manual.abs()[0, 0],\n", + " img_manual.abs()[0, 0, 0],\n", " titles=['Regularized Iterative SENSE R=20', '\"Manual\" Regularized Iterative SENSE R=20'],\n", ")" ] diff --git a/examples/scripts/iterative_sense_reconstruction_with_regularization.py b/examples/scripts/iterative_sense_reconstruction_with_regularization.py index feec70aa..5092a3d8 100644 --- a/examples/scripts/iterative_sense_reconstruction_with_regularization.py +++ b/examples/scripts/iterative_sense_reconstruction_with_regularization.py @@ -94,7 +94,7 @@ # %% [markdown] # ##### Image $x$ from undersampled data -# We now reconstruct the undersampled image using the fully sampled image first wthout regularization, +# We now reconstruct the undersampled image using the fully sampled image first without regularization, # and with with an regularization image. # %% @@ -202,7 +202,7 @@ def show_images(*images: torch.Tensor, titles: list[str] | None = None) -> None: # %% show_images( img_us_regularized_iterative_sense.rss()[0, 0], - img_manual.abs()[0, 0], + img_manual.abs()[0, 0, 0], titles=['Regularized Iterative SENSE R=20', '"Manual" Regularized Iterative SENSE R=20'], ) # %% [markdown]