Commit fcff492a authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Fixed a bug just commited

parent 4cd25477
......@@ -76,8 +76,9 @@ class Phase(Problem):
proxoperators[0] ='P_SP'
elif self.config['constraint'] =='amplitude only':
proxoperators[0] ='P_amp'
elif(strcmp(input.constraint,'phase on support'))
proxoperators[0] ='P_Amod'
elif self.config['constraint'] == 'phase on support':
pass
#proxoperators[0] ='P_Amod' currently not working in ProxPython
elif self.config['constraint'] =='minimum amplitude':
proxoperators[0] = 'P_min_amp'
elif self.config['constraint'] =='sparse':
......@@ -88,7 +89,7 @@ class Phase(Problem):
proxoperators[0] ='P_liftM'
proxoperators[2] ='Approx_PM_Poisson' # Patrick: This is just to monitor the change of phases!
if self.config['experiment'] == 'single diffraction':
if self.config['experiment'] == 'single diffraction' or self.config['experiment'] == 'CDI':
if self.config['distance'] == 'far field':
if self.config['constraint'] == 'phaselift':
proxoperators[1] = 'P_Rank1';
......
Markdown is supported
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