Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libhreels
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wolf Widdra
libhreels
Commits
54de11b2
Commit
54de11b2
authored
1 year ago
by
Wolf Widdra
Browse files
Options
Downloads
Patches
Plain Diff
added plasmaFrequencySTO
parent
269cd14a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libhreels/dielectrics20.py
+13
-6
13 additions, 6 deletions
libhreels/dielectrics20.py
with
13 additions
and
6 deletions
libhreels/dielectrics20.py
+
13
−
6
View file @
54de11b2
...
...
@@ -4,18 +4,18 @@ import numpy as np
from
scipy
import
constants
from
scipy.integrate
import
cumulative_trapezoid
def
plasmaFrequency
(
n
,
eps_inf
=
1
):
'''
Returns the plasma frequency for a given
doping n in charge/m³.
'''
#
Note that the function parameter is actually n/m, the charge carrier dens
ity
#
over the
band mass in units of electron mass in vacuum.
def
plasmaFrequency
(
n
,
eps_inf
=
1
,
m
=
1
):
#
Returns the plasma frequency
in cm^-1
for a given
charge carrier density n in e/m³
#
and a polarisable medium described by eps_infin
ity
#
and a
band mass
m
in units of electron mass in vacuum.
eps_0
=
constants
.
value
(
"
vacuum electric permittivity
"
)
e
=
constants
.
value
(
'
elementary charge
'
)
m_e
=
constants
.
value
(
'
electron mass
'
)
# Careful: There is a factor of 2 pi between omega and nue:
# If the plasma oscillates in a polarisable medium eps_infinity will reduce the restoring fields
w_P
=
np
.
sqrt
(
n
*
e
*
e
/
(
eps_0
*
eps_inf
*
m_e
))
#
w_P
=
np
.
sqrt
(
n
*
e
*
e
/
(
eps_0
*
eps_inf
*
m_e
*
m
))
#
nue_P
=
w_P
/
1E+12
*
33.35641
/
2
/
np
.
pi
#Hz -> THz -> cm^-1
return
nue_P
return
nue_P
# in units of cm-1
def
chargeDensitySTO
(
x
):
# Calculates the charge density per m^3 for SrTi_(1-x)Nb_xO_3
...
...
@@ -23,6 +23,13 @@ def chargeDensitySTO(x):
vol
=
3.91
*
3.91
*
3.91
*
1E-30
# unit cell volume in m^3
return
x
/
vol
def
plasmaFrequencySTO
(
x
,
eps_inf
=
5.14
,
m
=
15
):
# Calculates the plasma frequency in cm^-1 for SrTi_(1-x)Nb_xO_3
# assuming doping by one electron per Nb atom
# and an effective mass m=15
vol
=
3.91
*
3.91
*
3.91
*
1E-30
# unit cell volume in m^3
return
plasmaFrequency
(
x
/
vol
,
eps_inf
,
m
=
m
)
def
loss
(
eps
):
'''
Returns the loss function for a given eps
'''
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment