Commit aeb25645 authored by daniel.schellhorn's avatar daniel.schellhorn
Browse files

added non-relative path references to GetDate while implementing zip...

added non-relative path references to GetDate while implementing zip extraction, adding SetProxyPythonPath.py in phase and links in experiments in phase
parent dd7370d1
import SetProxPythonPath
from proxtoolbox.experiments.phase.phaseExperiment import PhaseExperiment
from proxtoolbox.utils.mypoissonrnd import mypoissonrnd
from proxtoolbox.utils.gaussian import gaussian
......
import SetProxPythonPath
from proxtoolbox.experiments.phase.phaseExperiment import PhaseExperiment
from proxtoolbox.utils import fft, ifft
from proxtoolbox.utils.loadMatFile import loadMatFile
......@@ -573,6 +574,3 @@ class CDP_Experiment(PhaseExperiment):
0.0645047500348074,-0.0627622327830579])
z0 = np.reshape(z0, (128, 1)) # transform 1-D array z0 into 128x1 matrix
return image, masks, z0
import SetProxPythonPath
from proxtoolbox.experiments.phase.phaseExperiment import PhaseExperiment
from proxtoolbox import proxoperators
import numpy as np
......@@ -70,7 +71,6 @@ class Elser_Experiment(PhaseExperiment):
#make sure input data can be found, otherwise download it
GetData.getData('Elser')
#defaultParams = getDefaultParameters()
# So far only Nx to set the desired
# resolution
newres = self.Nx
......@@ -284,5 +284,3 @@ if __name__ == "__main__":
Elser = Elser_Experiment(Atoms=200, category='E', algorithm='RRR', lambda_0=0.95, lambda_max=0.95, anim=True)
Elser.run()
Elser.show()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment