Skip to content
Snippets Groups Projects
Commit 0698c340 authored by Wolf Widdra's avatar Wolf Widdra
Browse files

materials added; sumrule corrected

parent 05d884a4
No related branches found
No related tags found
No related merge requests found
File added
File added
......@@ -50,11 +50,13 @@ def sigma(eps,w):
return (eps-1)*w/1j
def int_sigma(eps,w):
from scipy.integrate import cumulative_trapezoid
'''Cumulatively integrates the optical conductivity for a given eps'''
# Note that one value less is returned than the number of w values.
# The following factor depends on the unit cell volume:
fac = 0.67e-06
return fac*cumulative_trapezoid(np.real(sigma(eps,x)), x=w)
xx = w
return fac*cumulative_trapezoid(np.real(sigma(eps,w)), x=xx)
def plotDielectrics(x,eps, title=" ", plot_show=True):
'''This method plots a given (x,eps)-dataset as Re/Im(eps), SurfaceLoss and Reflectivity
......
......@@ -192,6 +192,15 @@
"reference": "Irani'71, Ehrenreich'62, Furtak'75",
"name": "Silver"
},
"Ag-2": {
"eps": 5.0,
"wTO": [0],
"gTO": [161.0],
"wLO": [71800],
"gLO": [161.0],
"reference": "Yang'15",
"name": "Silver"
},
"Pt": {
"eps": 1.0,
"wTO": [0],
......@@ -236,6 +245,15 @@
"gLO": [100],
"reference": "...",
"name": "vacuum"
},
"EuO": {
"eps": 4,
"wTO": [196 ],
"gTO": [ 30 ],
"wLO": [432 ],
"gLO": [ 30 ],
"reference": "Pradip'16",
"name": "EuO"
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment