GTPartialDOS[Hamiltonian,structure,parameters]
calculates and plots the partial density of states for a given Hamiltonian.
GTPartialDOS
GTPartialDOS[Hamiltonian,structure,parameters]
calculates and plots the partial 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.
- Note, this works only for tight-binding Hamiltonians with well defined basis functions and orbital characters.
- 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 intervall for DOS calculation. ne number of energy points to calculate the DOS. σ width of the Gaussian (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. {{"p",{2,3,4}} defines the orbitals to be used in the pDOS plot. - The following options can be given:
-
FrameLabel {"Energy", "DOS"} Option of ListPlot GOFermiEnergy -100000 Calculates the Fermi energy 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
- This is a new command introduced in version 1.0.1. A detailed description does not appear in the book.
Examples
open all close allBasic Examples (1)
Needs["GroupTheory`"]SetDirectory[NotebookDirectory[] <> "datasets"];As an example, the DOS of Cu is calculated. We import the Hamiltonian and the corresponding parameters from a dataset.
hfcc = GTReadFromFile["fcc_spd.ham"];
cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];For the partial DOS calculation, we provide a parameter list, where the last item describes which partial densities of states are calculated.
dosp = {3, 1, -.2, 1.8, 601, 0., 1, {{"SubscriptBox[e, g]", {7, 9}}, {"SubscriptBox[t, 2 g]", {5, 6, 8}}}};To calculate the pDOS in this example, only a restricted number of k-points is used.
GTPartialDOS[hfccp, "fcc", dosp, GOPlotDos -> "PDOS"]Options (4)
FrameLabel, PlotLabel, PlotRange, and PlotStyle are options of Mathematica’s plot functions and not discussed here.
GOFermiEnergy (1)
Use the Hamiltonian parametrized above. A starting point for Mathematica’s procedure FindRoot is explicitly provided.
dosp2 = {5, 1, -.2, 1.8, 601, 0., 1};GTPartialDOS[hfccp, "fcc", dosp, GOFermiEnergy -> {5.5, .5}]
The integrated DOS is necessary to find the Fermi energy.
GTPartialDOS[hfccp, "fcc", dosp, GOFermiEnergy -> {5.5, .5}, GOPlotDos -> "IDOS"]GOPlotDos (1)
Only the integrated DOS is plotted
GTPartialDOS[hfccp, "fcc", dosp, GOPlotDos -> "IDOS"]The DOS and the integrated DOS as well as the partial DOS are plotted. PlotStyle, FrameLabel, and PlotLabel have to be defined accordingly.
GTPartialDOS[hfccp, "fcc", dosp, GOPlotDos -> "ALL"]
The correct labels have to be defined for both graphs.
GTPartialDOS[hfccp, "fcc", dosp, GOPlotDos -> "ALL", GOFermiEnergy -> 5.5, PlotStyle -> {Blue, Black},
FrameLabel -> {{"DOS", "IDOS"}, {"Energy", " "}}, PlotLabel -> {"DOS and IDOS", "partial DOS"}, PlotRange -> {{-.2, 1.2}, {0, 40}}]The package TwoAxisListPlot.m of Mike Honeychurch is used for the case ALL (see: http://library.wolfram.com/infocenter/MathSource/7507) and TwoAxisListPlot
GOStore (1)
SetDirectory[$TemporaryDirectory];GTPartialDOS[hfccp, "fcc", dosp, GOStore -> "CU_DOS.dat", GOPlotDos -> "ALL", FrameLabel -> {{"DOS", "IDOS"}, {"Energy", " "}}, PlotLabel -> {"DOS and IDOS", "partial DOS"}, PlotRange -> {{-.2, 1.2}, {0, 40}}]dos = GTReadFromFile["CU_DOS.dat"]//Chop;tab = Prepend[dos[[571 ;; 601]], {"energy", "DOS", "IDOS", "sum pDOS", "SubscriptBox[e, g]", "SubscriptBox[t, 2 g]"}];Grid[tab, Frame -> All, Background -> {None, 1 -> LightRed}]The stored data can be used to create other plots or to do additional evaluations.