From 3993fdd27e15580c732fb14cb6371e4758f6b52a Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Wed, 26 Jun 2019 16:00:47 +0100 Subject: regulariser return a tuple --- Wrappers/Python/ccpi/plugins/regularisers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Wrappers/Python/ccpi/plugins/regularisers.py b/Wrappers/Python/ccpi/plugins/regularisers.py index 77543f9..6ed9fb2 100644 --- a/Wrappers/Python/ccpi/plugins/regularisers.py +++ b/Wrappers/Python/ccpi/plugins/regularisers.py @@ -43,7 +43,7 @@ class ROF_TV(Function): 'number_of_iterations' :self.iterationsTV ,\ 'time_marching_parameter':self.time_marchstep} - res = regularisers.ROF_TV(pars['input'], + res , info = regularisers.ROF_TV(pars['input'], pars['regularization_parameter'], pars['number_of_iterations'], pars['time_marching_parameter'], self.device) @@ -78,7 +78,7 @@ class FGP_TV(Function): 'nonneg': self.nonnegativity ,\ 'printingOut': self.printing} - res = regularisers.FGP_TV(pars['input'], + res , info = regularisers.FGP_TV(pars['input'], pars['regularization_parameter'], pars['number_of_iterations'], pars['tolerance_constant'], @@ -114,7 +114,7 @@ class SB_TV(Function): 'methodTV': self.methodTV ,\ 'printingOut': self.printing} - res = regularisers.SB_TV(pars['input'], + res , info = regularisers.SB_TV(pars['input'], pars['regularization_parameter'], pars['number_of_iterations'], pars['tolerance_constant'], -- cgit v1.2.3