Académique Documents
Professionnel Documents
Culture Documents
Attosecond Optics
12/09/16
Final Project
HHG Spectrum of Single Atom Response (Hydrogen)
1. Code
E_in2 = (E_au)*exp(-1.38*((t)/(T_au)).^2).*cos((w_au)*(t));
%A_2 = -(E_au/w_au)*exp(-1.38*((t)/(T_au)).^2).*sin((w_au)*(t));
m = N*del_t;
t2c = 1;
%Implementation
xn = 0;
tau = t2-t1;
An = 0;
del_tp = (t2-t1)/200;
for n = t1:del_tp:t2
An = (-(E_au/w_au)*exp(-
1.38*((t1)/(T_au)).^2).*sin((w_au)*(t1)))+An;
end
Ps = q*((del_tp)/(tau))*An; %%Momentum
Sn = 0;
del_ts = (t2-t1)/400;
for si = t1:del_ts:t2
Sn = Sn + ((Ps - q*(-(E_au/w_au)*exp(-
1.38*((t1)/(T_au)).^2).*sin((w_au)*(t1))))/(2*m_e) - Ip);
end
Ph = exp((-1j)*(del_ts/h_bar)*Sn); %%Phase
Pd = Ps - q*(-(E_au/w_au)*exp(-
1.38*((t1)/(T_au)).^2).*sin((w_au)*(t1)));
d = ((1i)*(2^(7/2))*(a^(5/4))/(pi))*(Pd/(((Pd^2) + a)^3)); %%Matrix
element
Pdc = Ps - q*(-(E_au/w_au)*exp(-
1.38*((t2)/(T_au)).^2).*sin((w_au)*(t2)));
dc = conj((1i)*(2^(7/2))*(a^(5/4))/(pi))*(Pdc/(((Pdc^2) + a)^3));
end
x(t2c) = xn;
t2c = t2c+1;
end
X2 = (fft(x2));
%Plots
figure('Name','High Harmonic Spectra of Hydrogen Atom')
subplot(1,2,1)
plot(Femto,x2)
title('Dipole Moment')
xlabel('Time [fs]')
ylabel('Amplitude [a.u.]')
axis([-20 20 -0.01 0.01])
subplot(1,2,2)
plot(Energy,log(Xf))
title('HHG Spectrum')
xlabel('Energy [eV]')
ylabel('log(Power) [a.u.]')
axis([0 40 -40 5])
2. Plots