Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nchimitt authored Jul 7, 2021
1 parent 18e7185 commit 37fbc86
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Turbulence_Sim_v1_python/v1_sim_example1.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ def rgb2gray(rgb):
N = 225 # size of the image -- assumed to be square (pixels)
D = 0.2 # length of aperture diameter (meters)
L = 7000 # length of propagation (meters)
r0 = 0.05 # the Fried parameter r0. Most importantly, the denominator is the desired D/r0 ratio
r0 = 0.05 # the Fried parameter r0. The value of D/r0 is critically important! (See associated paper)
wvl = 0.525e-6 # the mean wavelength -- typically somewhere suitably in the middle of the spectrum will be sufficient
obj_size = 2.06*1 # the size of the object in the object plane (meters).
obj_size = 2.06*1 # the size of the object in the object plane (meters). Can be different the Nyquist sampling, scaling
# will be done automatically.

param_obj = util.p_obj(N, D, L, r0, wvl, obj_size) # generating the parameter object, some other things are computed within this
# function, see the def for details
Expand Down

0 comments on commit 37fbc86

Please sign in to comment.