GTDensityOfStates[Hamiltonian,structure,parameters]
calculates and plots the density of states for a given Hamiltonian.
GTDensityOfStates
GTDensityOfStates[Hamiltonian,structure,parameters]
calculates and plots the density of states for a given Hamiltonian.
Details and Options
- The density of states (DOS) is calculated by a simple Gaussian broadening method.
- structure defines the Bravais lattice. This information is used to construct the k-mesh in the irreducible part of the Brillouin zone.
- The vector parameters contains data for the DOS calculation.
- parameters = {nt, scaleK, emin, emax, ne, σ, scale}
-
nt refinement parameter k-mesh (see also GTBZPointMesh). scaleK scaling factor k-mesh (see also GTBZPointMesh). [emin,emax] energy interval for DOS calculation. ne number of energy points in energy interval. σ width of the Gaussians (if σ = 0 the energy step width is used). scale The whole DOS can be scaled by the factor scale. This is sometimes helpful for comperisons. - The following options can be given:
-
FrameLabel {"Energy", "DOS"} Option of ListPlot GOBands "All" Selects bands to be included in the DOS calculation GOFermiEnergy 0 Calculates the Fermi energy GOPhotonic False Distinguishes between the calculation of an electronic or a photonic bandstructure GOPlotDos "DOS" Plots density of states GOStore 0 Stores the DOS, if a file name is given PlotLabel "Density of states" Option of ListPlot PlotRange All Option of ListPlot PlotStyle RGBColor[0, 0, 1] Option of ListPlot - See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 9.6.
Examples
open all close allBasic Examples (1)
Needs["GroupTheory`"]SetDirectory[NotebookDirectory[] <> "datasets"];The density of states of GaAs is used as an example. The Hamiltonian for the calculation is already prepared. The Hamiltonian is constructed with a
basis.
phGaAs = GTReadFromFile["GaAs.ham"];The density of states in k-space can be calculated now.
dosp = {5, 1, -14, 14, 601, 0.1, 1};kdos = GTDensityOfStates[phGaAs, "fcc", dosp]Options (5)
FrameLabel, PlotLabel, PlotRange, and PlotStyle are options of Mathematica’s plot functions and not discussed here.
GOBands (1)
At first all bands are calculated. Thus, the result agrees with the previous calculation.
kdos1 = GTDensityOfStates[phGaAs, "fcc", dosp, GOBands -> "ALL", PlotStyle -> Red];Show[kdos, kdos1]The first 5 bands are taken into account.
kdos1 = GTDensityOfStates[phGaAs, "fcc", dosp, GOBands -> 5, PlotStyle -> Red];Show[kdos, kdos1]A selection of bands is taken into account.
kdos2 = GTDensityOfStates[phGaAs, "fcc", dosp, GOBands -> {1, 2, 9, 10}, PlotStyle -> Red];Show[kdos, kdos2]GOFermiEnergy (1)
SetDirectory[NotebookDirectory[] <> "/datasets"];The DOS of Cu is used as an example. Read and parametrize the Hamiltonian.
hfcc = GTReadFromFile["fcc_spd.ham"];
cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];Set the parameters for the DOS calculation
dosp2 = {5, 1, -.2, 1.8, 601, 0., 1};Note, you have to to use GOPlotDos = "IDOS" or "ALL" to calculate the Fermi energy.
A starting point for FindRoot is explicitly provided.
GTDensityOfStates[hfccp, "fcc", dosp2, GOFermiEnergy -> {5.5, .5}]
GTDensityOfStates[hfccp, "fcc", dosp2, GOPlotDos -> "ALL", GOFermiEnergy -> {5.5, .5}]The starting point for FindRoot is set internally.
GTDensityOfStates[hfccp, "fcc", dosp2, GOPlotDos -> "ALL", GOFermiEnergy -> 5.5]GOPlotDos (1)
Only the integrated DOS is plotted
dosp = {5, 1, -14, 14, 601, 0.1, 1};GTDensityOfStates[phGaAs, "fcc", dosp, GOPlotDos -> "IDOS", PlotLabel -> "IDOS of GaAs"]The DOS and the integrated DOS as well are presented.
GTDensityOfStates[phGaAs, "fcc", dosp, GOPlotDos -> "ALL", PlotStyle -> {Black, Blue}, FrameLabel -> {{"DOS", "IDOS"}, {"Energy", " "}},
PlotLabel -> "DOS and IDOS of GaAs"]The package TwoAxisListPlot.m of Mike Honeychurch is used for the case ALL (see: http://library.wolfram.com/infocenter/MathSource/7507)