summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/demos
diff options
context:
space:
mode:
authoralgol <dkazanc@hotmail.com>2018-04-10 15:19:25 +0100
committeralgol <dkazanc@hotmail.com>2018-04-10 15:19:25 +0100
commitabe8e9805bb02e0ec73fd97f43da9f04ce0c6992 (patch)
treedd6630634efc5e38953fc82c281cc1de4baf0994 /Wrappers/Python/demos
parent87bc83e76ead993de8e436572d89b1bd76f6cb06 (diff)
downloadregularization-abe8e9805bb02e0ec73fd97f43da9f04ce0c6992.tar.gz
regularization-abe8e9805bb02e0ec73fd97f43da9f04ce0c6992.tar.bz2
regularization-abe8e9805bb02e0ec73fd97f43da9f04ce0c6992.tar.xz
regularization-abe8e9805bb02e0ec73fd97f43da9f04ce0c6992.zip
test has been added 43#
Diffstat (limited to 'Wrappers/Python/demos')
-rw-r--r--Wrappers/Python/demos/demo_cpu_regularisers.py4
-rw-r--r--Wrappers/Python/demos/demo_gpu_regularisers.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Wrappers/Python/demos/demo_cpu_regularisers.py b/Wrappers/Python/demos/demo_cpu_regularisers.py
index 50beee8..929f0af 100644
--- a/Wrappers/Python/demos/demo_cpu_regularisers.py
+++ b/Wrappers/Python/demos/demo_cpu_regularisers.py
@@ -100,8 +100,8 @@ imgplot = plt.imshow(u0,cmap="gray")
pars = {'algorithm' : FGP_TV, \
'input' : u0,\
'regularisation_parameter':0.04, \
- 'number_of_iterations' :1200 ,\
- 'tolerance_constant':0.00001,\
+ 'number_of_iterations' :2000 ,\
+ 'tolerance_constant':1e-06,\
'methodTV': 0 ,\
'nonneg': 0 ,\
'printingOut': 0
diff --git a/Wrappers/Python/demos/demo_gpu_regularisers.py b/Wrappers/Python/demos/demo_gpu_regularisers.py
index 5eb7876..c496e1c 100644
--- a/Wrappers/Python/demos/demo_gpu_regularisers.py
+++ b/Wrappers/Python/demos/demo_gpu_regularisers.py
@@ -102,7 +102,7 @@ pars = {'algorithm' : FGP_TV, \
'input' : u0,\
'regularisation_parameter':0.04, \
'number_of_iterations' :1200 ,\
- 'tolerance_constant':0.00001,\
+ 'tolerance_constant':1e-06,\
'methodTV': 0 ,\
'nonneg': 0 ,\
'printingOut': 0