summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorepapoutsellis <epapoutsellis@gmail.com>2019-05-15 00:44:19 +0100
committerepapoutsellis <epapoutsellis@gmail.com>2019-05-15 00:44:19 +0100
commit4432e6f12fc46deaec8b128ce0abbf8f49dbc553 (patch)
tree16102666ff57a317007a9b984eecda6ff921ce6c /Wrappers/Python
parentee580a5a8c852958c7ce28d935806c37bca12d44 (diff)
downloadframework-4432e6f12fc46deaec8b128ce0abbf8f49dbc553.tar.gz
framework-4432e6f12fc46deaec8b128ce0abbf8f49dbc553.tar.bz2
framework-4432e6f12fc46deaec8b128ce0abbf8f49dbc553.tar.xz
framework-4432e6f12fc46deaec8b128ce0abbf8f49dbc553.zip
check FISTA, constr, regul
Diffstat (limited to 'Wrappers/Python')
-rw-r--r--Wrappers/Python/demos/FISTA_examples/FISTA_Tikhonov_Poisson_Denoising.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Wrappers/Python/demos/FISTA_examples/FISTA_Tikhonov_Poisson_Denoising.py b/Wrappers/Python/demos/FISTA_examples/FISTA_Tikhonov_Poisson_Denoising.py
index be397ff..41219f4 100644
--- a/Wrappers/Python/demos/FISTA_examples/FISTA_Tikhonov_Poisson_Denoising.py
+++ b/Wrappers/Python/demos/FISTA_examples/FISTA_Tikhonov_Poisson_Denoising.py
@@ -52,8 +52,8 @@ from skimage.util import random_noise
loader = TestData(data_dir=os.path.join(sys.prefix, 'share','ccpi'))
# Load Data
-N = 50
-M = 50
+N = 150
+M = 150
data = loader.load(TestData.SIMPLE_PHANTOM_2D, size=(N,M), scale=(0,1))
ig = data.geometry
@@ -74,6 +74,7 @@ plt.imshow(noisy_data.as_array())
plt.title('Noisy Data')
plt.colorbar()
plt.show()
+
#%%
# Regularisation Parameter
alpha = 10