diff --git a/dist/libhreels-2.0.3-py3-none-any.whl b/dist/libhreels-2.0.3-py3-none-any.whl new file mode 100644 index 0000000000000000000000000000000000000000..e90604d5c2d0654c82fc9b2f9f0f1b34a25b907c Binary files /dev/null and b/dist/libhreels-2.0.3-py3-none-any.whl differ diff --git a/dist/libhreels-2.0.3.tar.gz b/dist/libhreels-2.0.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1f2f8c56fa360affe321032fe3e1a89c28d85d9c Binary files /dev/null and b/dist/libhreels-2.0.3.tar.gz differ diff --git a/libhreels/dielectrics20.py b/libhreels/dielectrics20.py index 584fd8cb929ce097d89ffa0b316861751c003b75..5729e57f3349c7f74dd0e8f077aa3b082caa2fa4 100755 --- a/libhreels/dielectrics20.py +++ b/libhreels/dielectrics20.py @@ -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 diff --git a/libhreels/materials20.json b/libhreels/materials20.json index 2a656aca10d901855e92dc0ffeec47e466533036..c5658b26459b6c862cffd348bf53d9c36636705c 100755 --- a/libhreels/materials20.json +++ b/libhreels/materials20.json @@ -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" } }