Coherent Backscattering from Multiple Scattering Systems - KOPS ...
Coherent Backscattering from Multiple Scattering Systems - KOPS ... Coherent Backscattering from Multiple Scattering Systems - KOPS ...
MATLAB codes % reference files index = regexp (name_ref, ’_’, ’start’) ; index = index (length(index) - 1) ; namebase = name_ref (1 : index) ; list = dir ([path_ref,namebase,’*.dat’]) ; data_ref = zeros (size(list,1),256,2) ; P_ref = zeros (size(list,1),1) ; for N = 1 : size(list,1) filename = [path,list(N).name] ; data_ref(N,:,:) = load (filename,’-ascii’) ; parts = regexp (list(N).name, ’_|+-|.dat’, ’split’) ; p_ref = parts ( size(parts,2) - 2 ) ; P_ref(N) = str2double (p_ref:,1) ; end % other data k = 2 * pi / wavelength ; c = 3e8 ; % speed of light l_approx = D * n_eff / c ; n_surr = 1 ; % refractive index of surrounding medium = air R = reflectivity (n_eff,n_surr) ; %% Calibrate data cone = zeros(256,1) ; cone_delta = zeros(256,1) ; for n = 1 : 256 x = data_ref(:,n) ; y = P_ref * diffuson(theta(n),l_approx,R) ; temp1 = sortrows ([x,y],1) ; % sort by x x = temp1(:,1) ; y = temp1(:,2) ; warning off % many warnings because of defect photodiodes (causing NANs)! [p,s,mu] = polyfit (x,y,3) ; [cone(n),cone_delta(n)] = polyval (p,data_samp(n),s,mu) ; warning on end %% Fold data dummy = sortrows ([abs(theta), cone, cone_delta]) ; theta = dummy (:,1) ; cone = dummy (:,2) ; cone_delta = dummy (:,3) ; 82
Evaluation of the wide angle data % remove NANs and data with huge errors from damaged photodiodes m = 1 ; for n = 1 : 256 if isnan (cone(n)) elseif cone_delta(n) > 0.1*P_samp else Cone(m) = cone(n) ; Delta(m) = cone_delta(n) ; Theta(m) = theta(n) ; m = m + 1 ; end end cone = Cone ; cone_delta = Delta ; theta = Theta ; clear Theta Cone Delta % fold data (i.e. -pi/2 < theta < pi/2 -> 0 < theta < pi/2) m = 1 ; n = 1 ; while n < size(theta,2) if theta(n+1) > theta(n) Theta(m) = theta(n) ; Theta(m+1) = theta(n+1) ; Cone(m) = cone(n) ; Cone(m+1) = cone(n+1) ; Delta(m) = cone_delta(n) ; Delta(m+1) = cone_delta(n+1) ; n = n + 1 ; else % theta(n) == theta(n+1) Theta(m) = theta(n) ; Cone(m) = (cone(n) + cone(n+1)) / 2 ; Delta(m) = 0.5 * sqrt ( (cone_delta(n)).^2 + (cone_delta(n+1)).^2 ) ; n = n + 2 ; end m = m + 1 ; end cone = Cone ; cone_delta = Delta ; theta = Theta ; %% Derive experimental and theoretical cones % Correct cone with albedo mismatch corr_cone = aleph * cone ; corr_cone_delta = aleph * cone_delta ; 83
- Page 39 and 40: 3.3 Small Angle Setup Figure 3.6: T
- Page 41 and 42: 3.4 Time Of Flight Setup Figure 3.8
- Page 43 and 44: 4 Samples 4.1 Sample characterizati
- Page 45 and 46: 4.1 Sample characterization techniq
- Page 47 and 48: 4.2 The samples sample particle siz
- Page 49 and 50: 4.2 The samples Figure 4.5: Fluidiz
- Page 51 and 52: 5 Experiments 5.1 Conservation of e
- Page 53 and 54: 5.1 Conservation of energy in coher
- Page 55 and 56: 5.1 Conservation of energy in coher
- Page 57 and 58: 5.1 Conservation of energy in coher
- Page 59 and 60: 5.1 Conservation of energy in coher
- Page 61 and 62: 5.1 Conservation of energy in coher
- Page 63 and 64: 5.1 Conservation of energy in coher
- Page 65 and 66: 5.2 The coherent backscattering con
- Page 67 and 68: 5.2 The coherent backscattering con
- Page 69 and 70: 5.2 The coherent backscattering con
- Page 71 and 72: 5.2 The coherent backscattering con
- Page 73 and 74: 5.2 The coherent backscattering con
- Page 75 and 76: 5.2 The coherent backscattering con
- Page 77 and 78: 6 Summary The focus of the work pre
- Page 79 and 80: Bibliography [1] http://www.schneid
- Page 81 and 82: Bibliography [34] E. Larose, L. Mar
- Page 83 and 84: Figures and Tables Figures Backscat
- Page 85 and 86: Figures and Tables Tables 4.1 Collo
- Page 87 and 88: MATLAB codes Angular intensity dist
- Page 89: Evaluation of the wide angle data E
- Page 93 and 94: Evaluation of the wide angle data f
- Page 95 and 96: Evaluation of the small angle data
- Page 97 and 98: Evaluation of the small angle data
- Page 99: Evaluation of the small angle data
MATLAB codes<br />
% reference files<br />
index = regexp (name_ref, ’_’, ’start’) ;<br />
index = index (length(index) - 1) ;<br />
namebase = name_ref (1 : index) ;<br />
list = dir ([path_ref,namebase,’*.dat’]) ;<br />
data_ref = zeros (size(list,1),256,2) ;<br />
P_ref = zeros (size(list,1),1) ;<br />
for N = 1 : size(list,1)<br />
filename = [path,list(N).name] ;<br />
data_ref(N,:,:) = load (filename,’-ascii’) ;<br />
parts = regexp (list(N).name, ’_|+-|.dat’, ’split’) ;<br />
p_ref = parts ( size(parts,2) - 2 ) ;<br />
P_ref(N) = str2double (p_ref:,1) ;<br />
end<br />
% other data<br />
k = 2 * pi / wavelength ;<br />
c = 3e8 ; % speed of light<br />
l_approx = D * n_eff / c ;<br />
n_surr = 1 ; % refractive index of surrounding medium = air<br />
R = reflectivity (n_eff,n_surr) ;<br />
%% Calibrate data<br />
cone = zeros(256,1) ;<br />
cone_delta = zeros(256,1) ;<br />
for n = 1 : 256<br />
x = data_ref(:,n) ;<br />
y = P_ref * diffuson(theta(n),l_approx,R) ;<br />
temp1 = sortrows ([x,y],1) ; % sort by x<br />
x = temp1(:,1) ;<br />
y = temp1(:,2) ;<br />
warning off % many warnings because of defect photodiodes (causing NANs)!<br />
[p,s,mu] = polyfit (x,y,3) ;<br />
[cone(n),cone_delta(n)] = polyval (p,data_samp(n),s,mu) ;<br />
warning on<br />
end<br />
%% Fold data<br />
dummy = sortrows ([abs(theta), cone, cone_delta]) ;<br />
theta = dummy (:,1) ;<br />
cone = dummy (:,2) ;<br />
cone_delta = dummy (:,3) ;<br />
82