From 58a81bb96ea3264f97405a58d2f2bd1b3725eeea Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Tue, 5 Dec 2023 14:35:10 +0000 Subject: [PATCH] autoyapf complaints --- mantidimaging/core/reconstruct/cil_recon.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mantidimaging/core/reconstruct/cil_recon.py b/mantidimaging/core/reconstruct/cil_recon.py index 6f41365bb61..408c200817b 100644 --- a/mantidimaging/core/reconstruct/cil_recon.py +++ b/mantidimaging/core/reconstruct/cil_recon.py @@ -10,7 +10,7 @@ import numpy as np -from cil.framework import (AcquisitionData, AcquisitionGeometry, DataOrder, ImageGeometry, BlockGeometry, +from cil.framework import (AcquisitionData, AcquisitionGeometry, DataOrder, ImageGeometry, BlockGeometry, BlockDataContainer) from cil.optimisation.algorithms import PDHG, SPDHG from cil.optimisation.operators import GradientOperator, BlockOperator @@ -85,7 +85,6 @@ def set_up_TV_regularisation( return (K, F, G) - @staticmethod def set_up_TGV_regularisation( image_geometry: ImageGeometry, acquisition_data: AcquisitionData, @@ -122,7 +121,7 @@ def set_up_TGV_regularisation( # mathematicians like to multiply 1/2 in front of L2NormSquared. This is not necessary # it will mean that the regularisation parameter alpha is doubled f1 = L2NormSquared(b=acquisition_data) - + F = BlockFunction(f1, f2, f3) # Define BlockOperator K