-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.m
More file actions
40 lines (35 loc) · 1.31 KB
/
Copy pathmain.m
File metadata and controls
40 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Example script to plot the real and imaginary parts of the conductivity
% of the anharmonic polaron gas, for one specific set of values.
% This script reproduces the solid orange curve of figure 5c of the
% accompanying article (arXiv:2210.10696).
% Make sure to add the folder "Internal functions" to the MatLab path
% before running this script.
% Set the input values:
omega = 0:0.01:4;
alpha = 1;
T0 = 0;
T1 = 0.1;
V0 = 0.001;
Eryw0 = 8;
rs = 12;
T = 0;
model = 'Hubbard';
% Calculate the corresponding conductivity:
sigma = conductivity(omega,alpha,T0,T1,V0,Eryw0,rs,T,model);
% Plot the results
figure
plot(omega,real(sigma),'k-','LineWidth',2)
xlabel('$\omega/\omega_{LO}$','Interpreter','latex','FontSize',16)
ylabel('$\frac{\sigma_R(\omega)}{\frac{ne^2}{m\omega_0}}$',...
'Interpreter','latex','FontSize',20,'Rotation',0,...
'VerticalAlignment','middle', 'HorizontalAlignment','right')
title('Conductivity, real part','FontSize',18)
ylim([0,0.1])
figure
plot(omega,imag(sigma),'k-','LineWidth',2)
xlabel('$\omega/\omega_{LO}$','Interpreter','latex','FontSize',16)
ylabel('$\frac{\sigma_I(\omega)}{\frac{ne^2}{m\omega_0}}$',...
'Interpreter','latex','FontSize',20,'Rotation',0,...
'VerticalAlignment','middle', 'HorizontalAlignment','right')
title('Conductivity, imaginary part','FontSize',18)
ylim([0,2])