Commit b7137122 authored by jansen31's avatar jansen31
Browse files

bug-fixes

parent 0b660d61
import sys
# sys.path.append('../proxtoolbox/Problems/Phase')
sys.path.append('..')
import coronene_test
from phase import Phase
from . import coronene_test
from .phase import Phase
orbit = Phase(coronene_test.new_config)
......
......@@ -16,7 +16,7 @@
# image
# data_ball = noise parameter
# support_type = character string for type of
# support. Either 'autocorr', 'box' or 'autocorr_box'
# support. Either 'autoc orr', 'box' or 'autocorr_box'
# tightness = numeric parameter adjusts the tightness
# of the autocorrelation support constraint.
#
......@@ -46,7 +46,7 @@ from numpy.random import rand
def CDI_data_processor(config):
if config['distance'] =='near field': #moved here from demo file in matlab
config['fresnel_nr'] = 1*2*np.pi*config['Nx']
config['fresnel_nr'] = 1*2*pi*config['Nx']
else:
config['fresnel_nr'] = 0
......
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