summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-05-01 16:13:40 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-05-01 16:13:40 +0100
commit6d1c24c8fc389365f2dd83ee480c63969b08ce9f (patch)
treef3f9f1aa52b875edf79fc5961f150b7fff8d267d /Wrappers/Python
parenta9ec78c1669f460ebaf5227600f8b0c082cfcf56 (diff)
downloadframework-6d1c24c8fc389365f2dd83ee480c63969b08ce9f.tar.gz
framework-6d1c24c8fc389365f2dd83ee480c63969b08ce9f.tar.bz2
framework-6d1c24c8fc389365f2dd83ee480c63969b08ce9f.tar.xz
framework-6d1c24c8fc389365f2dd83ee480c63969b08ce9f.zip
removed useless imports
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-xWrappers/Python/ccpi/optimisation/algs.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/algs.py b/Wrappers/Python/ccpi/optimisation/algs.py
index 89b5519..f5ba85e 100755
--- a/Wrappers/Python/ccpi/optimisation/algs.py
+++ b/Wrappers/Python/ccpi/optimisation/algs.py
@@ -20,13 +20,8 @@
import numpy
import time
-from ccpi.optimisation.functions import Function
-from ccpi.optimisation.functions import ZeroFunction
-from ccpi.framework import ImageData
-from ccpi.framework import AcquisitionData
-from ccpi.optimisation.spdhg import spdhg
-from ccpi.optimisation.spdhg import KullbackLeibler
-from ccpi.optimisation.spdhg import KullbackLeiblerConvexConjugate
+
+
def FISTA(x_init, f=None, g=None, opt=None):
'''Fast Iterative Shrinkage-Thresholding Algorithm