From 43b6f16ea68523f9d13457b17b44181222f1e6c1 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Mon, 30 Oct 2017 11:35:19 +0000 Subject: regularization parameter is divided by Lipschitz constant as 09f9bf9828c39bcdd870cfefbcb52e61451802eb --- src/Python/ccpi/reconstruction/FISTAReconstructor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Python') diff --git a/src/Python/ccpi/reconstruction/FISTAReconstructor.py b/src/Python/ccpi/reconstruction/FISTAReconstructor.py index 0607003..0a66e67 100644 --- a/src/Python/ccpi/reconstruction/FISTAReconstructor.py +++ b/src/Python/ccpi/reconstruction/FISTAReconstructor.py @@ -602,7 +602,10 @@ class FISTAReconstructor(): regularizer = self.getParameter('regularizer') if regularizer is not None: - return regularizer(input=X) + lc = self.getParameter('Lipschitz_constant') + reg_par = regularizer.getParameter('regularization_parameter') / lc + return regularizer(input=X, + regularization_parameter = reg_par) else: return X -- cgit v1.2.3