summaryrefslogtreecommitdiffstats
path: root/src/Python/ccpi
diff options
context:
space:
mode:
authordkazanc <dkazanc@hotmail.com>2019-03-06 15:13:58 +0000
committerdkazanc <dkazanc@hotmail.com>2019-03-06 15:13:58 +0000
commit39baef90c4b209090f006e5308653cb0a3348c4e (patch)
treee85f827c91fa98a39cef941090dc260db1c76b6c /src/Python/ccpi
parent5a12eb57a4965dea7241093c1fe7bf50dfac9659 (diff)
downloadregularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.gz
regularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.bz2
regularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.xz
regularization-39baef90c4b209090f006e5308653cb0a3348c4e.zip
tol work
Diffstat (limited to 'src/Python/ccpi')
-rw-r--r--src/Python/ccpi/filters/regularisers.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Python/ccpi/filters/regularisers.py b/src/Python/ccpi/filters/regularisers.py
index 588ea32..fb2c999 100644
--- a/src/Python/ccpi/filters/regularisers.py
+++ b/src/Python/ccpi/filters/regularisers.py
@@ -29,15 +29,14 @@ def ROF_TV(inputData, regularisation_parameter, iterations,
.format(device))
def FGP_TV(inputData, regularisation_parameter,iterations,
- tolerance_param, methodTV, nonneg, printM, device='cpu'):
+ tolerance_param, methodTV, nonneg, device='cpu'):
if device == 'cpu':
return TV_FGP_CPU(inputData,
regularisation_parameter,
iterations,
tolerance_param,
methodTV,
- nonneg,
- printM)
+ nonneg)
elif device == 'gpu' and gpu_enabled:
return TV_FGP_GPU(inputData,
regularisation_parameter,
@@ -45,7 +44,7 @@ def FGP_TV(inputData, regularisation_parameter,iterations,
tolerance_param,
methodTV,
nonneg,
- printM)
+ 1)
else:
if not gpu_enabled and device == 'gpu':
raise ValueError ('GPU is not available')