From 37fbc860d1d3dc660c5288fe34d96110b126d73f Mon Sep 17 00:00:00 2001 From: "Chimitt, Nicholas M" Date: Tue, 6 Jul 2021 22:07:21 -0400 Subject: [PATCH] Add files via upload --- Turbulence_Sim_v1_python/v1_sim_example1.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Turbulence_Sim_v1_python/v1_sim_example1.py b/Turbulence_Sim_v1_python/v1_sim_example1.py index 66430b8..9f71aa4 100644 --- a/Turbulence_Sim_v1_python/v1_sim_example1.py +++ b/Turbulence_Sim_v1_python/v1_sim_example1.py @@ -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