diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-26 16:00:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 16:00:47 +0100 |
commit | 3993fdd27e15580c732fb14cb6371e4758f6b52a (patch) | |
tree | 9344ec52e5ed106e3a2338f8a24ecbc91e57e11d /Wrappers | |
parent | 57382bc824cf38ea1ce0b1bf62e4b3d39c0296be (diff) | |
download | framework-plugins-3993fdd27e15580c732fb14cb6371e4758f6b52a.tar.gz framework-plugins-3993fdd27e15580c732fb14cb6371e4758f6b52a.tar.bz2 framework-plugins-3993fdd27e15580c732fb14cb6371e4758f6b52a.tar.xz framework-plugins-3993fdd27e15580c732fb14cb6371e4758f6b52a.zip |
regulariser return a tuple
Diffstat (limited to 'Wrappers')
-rw-r--r-- | Wrappers/Python/ccpi/plugins/regularisers.py | 6 |
1 files 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'], |