Coherent Backscattering from Multiple Scattering Systems - KOPS ...

Coherent Backscattering from Multiple Scattering Systems - KOPS ... Coherent Backscattering from Multiple Scattering Systems - KOPS ...

kops.ub.uni.konstanz.de
from kops.ub.uni.konstanz.de More from this publisher
26.12.2013 Views

MATLAB codes end if n == 1 p1 = 0 ; p = 1 ; t = mu ; % because t = n * mu * p - (n+1) * p1 = 1 * mu * 1 - 2 * 0 else p0 = p1 ; p1 = p ; p = (2*n-1) / (n-1) * mu .* p1 - n / (n-1) * p0 ; t = n * mu .* p - (n+1) * p1 ; end S1 = S1 + (2*n+1) / (n*(n+1)) * (an*p + bn*t) ; S2 = S2 + (2*n+1) / (n*(n+1)) * (an*t + bn*p) ; S11 = 1/2 * ( S2 .* conj(S2) + S1 .* conj(S1) ) ; S33 = 1/2 * ( S1 .* conj(S2) + S2 .* conj(S1) ) ; I1 = S11 ; I2 = 1/2 * ( S11 + S33 ) ; % intensity after the scattering particle % after second transmission of circular polarizer plot (angle,I1,angle,I2) xlabel (’scattering angle [deg]’) ylabel (’intensity [a.u.]’) legend (’after scatterer’,’after circular polarizer’) end function J = J (n,x) J = sqrt(x*pi/2) * besselj(n+1/2,x) ; end function H = H (n,x) H = sqrt(x*pi/2) * ( besselj(n+1/2,x) + i * bessely(n+1/2,x) ) ; end function dJ = dJ (n,x) dJ = sqrt(pi/(2*x)) * ( (1+n) * besselj(n+1/2,x) - x * besselj(n+3/2,x) ) ; end function dH = dH (n,x) dH = sqrt(pi/(2*x)) * ( (1+n) * ( besselj(n+1/2,x) + i * bessely(n+1/2,x) ) ... - x * ( besselj(n+3/2,x) + i * bessely(n+3/2,x) ) ) ; end 80

Evaluation of the wide angle data Evaluation of the wide angle data This MATLAB script calibrates and displays the data of the wide angle setup (secs. 3.2 and 5.1), calculates the integrated cooperon E, and draws a theory curve which can be fitted to the data by varying the value for the transport mean free path l ∗ . Each data set consists of a series of reference measurements at different incoming laser powers and one measurement with the sample itself. The data are stored in ASCII files which contain the diode signals and their errors. The diode positions (in degrees) are read from the file ‘diode angles.dat’. The filenames of the data files contain the average incoming laser powers and their errors (in arbitrary units), which are measured by the power meter in the setup. The albedo mismatch ℵ = A reference /A sample has to be calculated from eqn. 5.6, diffusion coefficient D and absorption time τ are measured in time of flight experiments (sec. 3.4), and the effective refractive index n eff is calculated using eqn. 4.1. With the variable ‘enhancement’ the height of the theoretical cone can be adapted to that of the measured one. function wide_angle_evaluation %% Initialize variables and load files file_samp = ’C:\Examples\example_0.100+-0.001.dat’ ; % sample file path_ref = ’C:\Examples\’ ; % path reference files name_ref = ’teflon_01_0.200+-0.001.dat’ ; % arbitrary reference file wavelength = 590e-9 ; D = 15 ; tau = 2e-9 ; n_eff = 1.58 ; l = 500e-9 ; aleph = 0.890 ; enhancement = 0.9 ; % laser wavelength % diffusion coefficient of the sample % absorption time of the sample % effective refractive index of the sample % transport mean free path for theory fit % albedo mismatch % enhancement of the backscattering cone % angular positions of the photodiodes angles = load (’C:\Examples\diode_angles.dat’,’-ascii’) ; theta = angles * pi / 180 ; % sample file data_samp = load (file_samp,’-ascii’) ; parts = regexp (file_samp, ’_|+-|.dat’, ’split’) ; P_samp = parts ( size(parts,2) - 2 ) ; P_samp = str2double (P_samp:,1) ; Perror_samp = parts ( size(parts,2) - 1 ) ; Perror_samp = str2double (Perror_samp:,1) ; 81

Evaluation of the wide angle data<br />

Evaluation of the wide angle data<br />

This MATLAB script calibrates and displays the data of the wide angle setup (secs. 3.2 and<br />

5.1), calculates the integrated cooperon E, and draws a theory curve which can be fitted to the<br />

data by varying the value for the transport mean free path l ∗ .<br />

Each data set consists of a series of reference measurements at different incoming laser powers<br />

and one measurement with the sample itself. The data are stored in ASCII files which contain<br />

the diode signals and their errors. The diode positions (in degrees) are read <strong>from</strong> the file<br />

‘diode angles.dat’. The filenames of the data files contain the average incoming laser powers<br />

and their errors (in arbitrary units), which are measured by the power meter in the setup.<br />

The albedo mismatch ℵ = A reference /A sample has to be calculated <strong>from</strong> eqn. 5.6, diffusion<br />

coefficient D and absorption time τ are measured in time of flight experiments (sec. 3.4), and<br />

the effective refractive index n eff is calculated using eqn. 4.1. With the variable ‘enhancement’<br />

the height of the theoretical cone can be adapted to that of the measured one.<br />

function wide_angle_evaluation<br />

%% Initialize variables and load files<br />

file_samp = ’C:\Examples\example_0.100+-0.001.dat’ ; % sample file<br />

path_ref = ’C:\Examples\’ ;<br />

% path reference files<br />

name_ref = ’teflon_01_0.200+-0.001.dat’ ;<br />

% arbitrary reference file<br />

wavelength = 590e-9 ;<br />

D = 15 ;<br />

tau = 2e-9 ;<br />

n_eff = 1.58 ;<br />

l = 500e-9 ;<br />

aleph = 0.890 ;<br />

enhancement = 0.9 ;<br />

% laser wavelength<br />

% diffusion coefficient of the sample<br />

% absorption time of the sample<br />

% effective refractive index of the sample<br />

% transport mean free path for theory fit<br />

% albedo mismatch<br />

% enhancement of the backscattering cone<br />

% angular positions of the photodiodes<br />

angles = load (’C:\Examples\diode_angles.dat’,’-ascii’) ;<br />

theta = angles * pi / 180 ;<br />

% sample file<br />

data_samp = load (file_samp,’-ascii’) ;<br />

parts = regexp (file_samp, ’_|+-|.dat’, ’split’) ;<br />

P_samp = parts ( size(parts,2) - 2 ) ;<br />

P_samp = str2double (P_samp:,1) ;<br />

Perror_samp = parts ( size(parts,2) - 1 ) ;<br />

Perror_samp = str2double (Perror_samp:,1) ;<br />

81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!