Commit 6c4474c3 authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Corrected to semantic mistakes in phase

parent d31b1238
......@@ -39,7 +39,7 @@ class Phase(Problem):
self.config['fresnel_nr'] = 0
self.config['use_farfield_formula'] = 1
#call data processor, read data
......@@ -59,7 +59,7 @@ class Phase(Problem):
self.config['normM']=self.config['norm_rt_data']; #previously (in matlab) norm_data
if 'Nz' not in self.config:
self.config[Nz] = 1;
self.config['Nz'] = 1;
#If method_config[formulation is does not exist, i.e. not specified in
......@@ -94,7 +94,7 @@ class Phase(Problem):
proxoperators[2] ='Approx_PM_Poisson'; # Patrick: This is just to monitor the change of phases!
if self.config['experiment'] == 'single diffraction':
if self.config[distance] == 'far field':
if self.config['distance'] == 'far field':
if self.config['constraint'] == 'phaselift':
proxoperators[1] = 'P_Rank1';
elif self.config['constraint'] == 'phaselift2':
......
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