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

Plasma freq corrected

parent 48fba947
No related branches found
No related tags found
No related merge requests found
...@@ -4,25 +4,24 @@ import numpy as np ...@@ -4,25 +4,24 @@ import numpy as np
from scipy import constants from scipy import constants
from scipy.integrate import cumulative_trapezoid from scipy.integrate import cumulative_trapezoid
def plasmaFrequency(n): def plasmaFrequency(n,eps_inf=1):
'''Returns the plasma frequency for a given doping.''' '''Returns the plasma frequency for a given doping n in charge/m³.'''
# Note that the function parameter is actually n/m, the charge carrier density # Note that the function parameter is actually n/m, the charge carrier density
# over the band mass in units of electron mass in vacuum. # over the band mass in units of electron mass in vacuum.
eps_0 = constants.value("vacuum electric permittivity") eps_0 = constants.value("vacuum electric permittivity")
e = constants.value('elementary charge') e = constants.value('elementary charge')
m_e = constants.value('electron mass') m_e = constants.value('electron mass')
w_P = np.sqrt(n*e*e/(eps_0*m_e)) #Hz # Careful: There is a factor of 2 pi between omega and nue:
w_P = w_P /1E+12 * 33.35641 #Hz -> THz -> cm^-1 # If the plasma oscillates in a polarisable medium eps_infinity will reduce the restoring fields
return w_P w_P = np.sqrt(n*e*e/(eps_0*eps_inf*m_e)) #
nue_P = w_P /1E+12 * 33.35641 /2 /np.pi #Hz -> THz -> cm^-1
# def doping2chargecarrierdensity(doping): #use doping in percentage by mass, not volume return nue_P
# '''Returns the charge carrier density for a given doping in percentage.'''
# return float(doping*3.31664067935517E+020*1E6) # doping[%] * charge carrier/cm^3 * 1E6 = n_e [m^-3] def chargeDensitySTO(x):
# Calculates the charge density per m^3 for SrTi_(1-x)Nb_xO_3
# def doping2plasmaFrequency(doping): # assuming doping by one electron per Nb atom
# '''Returns the plasma frequency for a given doping.''' vol = 3.91*3.91*3.91 * 1E-30 # unit cell volume in m^3
# n = doping2chargecarrierdensity(doping) return x/vol
# return plasmaFrequency(n)
def loss(eps): def loss(eps):
......
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