diff --git a/Turbulence_Sim_v1_python/Example_2_tiltonly.py b/Turbulence_Sim_v1_python/Example_2_tiltonly.py index 4b1b805..5aaafb2 100644 --- a/Turbulence_Sim_v1_python/Example_2_tiltonly.py +++ b/Turbulence_Sim_v1_python/Example_2_tiltonly.py @@ -20,7 +20,7 @@ def rgb2gray(rgb): return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140]) -img = rgb2gray(plt.imread('chart.png')) +img = rgb2gray(plt.imread('./data/chart.png')) N = 225 # size of the image -- assumed to be square (pixels) D = 0.1 # length of aperture diameter (meters) L = 7000 # length of propagation (meters) @@ -36,4 +36,4 @@ def rgb2gray(rgb): img_, _ = util.genTiltImg(img, param_obj) # generating the tilt-only image plt.imshow(img_,cmap='gray',vmin=0,vmax=1) - plt.show() \ No newline at end of file + plt.show()