summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-25 16:35:12 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-25 16:35:12 +0100
commit6b24ef4e1e0780dc1eade61df025f886712339bc (patch)
tree7b9122716edc98a49153459d615e4f62dc83d9de
parent23668cba99464fb0189e80a883ab9234ee6a9965 (diff)
downloadregularization-6b24ef4e1e0780dc1eade61df025f886712339bc.tar.gz
regularization-6b24ef4e1e0780dc1eade61df025f886712339bc.tar.bz2
regularization-6b24ef4e1e0780dc1eade61df025f886712339bc.tar.xz
regularization-6b24ef4e1e0780dc1eade61df025f886712339bc.zip
development
-rw-r--r--src/Python/test/test_reconstructor-os.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Python/test/test_reconstructor-os.py b/src/Python/test/test_reconstructor-os.py
index 6c82ae0..3f419cf 100644
--- a/src/Python/test/test_reconstructor-os.py
+++ b/src/Python/test/test_reconstructor-os.py
@@ -78,12 +78,16 @@ fistaRecon.setParameter(ring_alpha = 21)
fistaRecon.setParameter(ring_lambda_R_L1 = 0.002)
+#reg = Regularizer(Regularizer.Algorithm.FGP_TV)
+#reg.setParameter(regularization_parameter=0.005,
+# number_of_iterations=50)
reg = Regularizer(Regularizer.Algorithm.LLT_model)
reg.setParameter(regularization_parameter=25,
time_step=0.0003,
tolerance_constant=0.0001,
number_of_iterations=300)
+
## Ordered subset
if True:
subsets = 16
@@ -306,7 +310,7 @@ if True:
# for slices:
# out = regularizer(input=X)
print ("regularizer")
- #X = reg(input=X)
+ X = reg(input=X)[0]
## FINAL