GTBandsDOSPlot
  • See Also
    • GTBands
    • GTBandStructure
    • GTBandsPlot
    • GTFatBandsPlot
    • GTDensityOfStates
    • GTDensityOfStatesPlot
    • GTPartialDOS
  • Related Guides
    • Electronic Structure
  • Tech Notes
    • Electronic structure
    • See Also
      • GTBands
      • GTBandStructure
      • GTBandsPlot
      • GTFatBandsPlot
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPartialDOS
    • Related Guides
      • Electronic Structure
    • Tech Notes
      • Electronic structure

GTBandsDOSPlot[band structure, density of states, number of bands]

creates a combined plot of band structure and different representations of the density of states.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Plot band structure and DOS  
Plot band structure, DOS and integrated DOS (IDOS)  
Plot band structure and partial DOS  
Plot band structure, DOS, integrated DOS and partial DOS  
Options  
Filling  
GOShift  
GOFermiEnergy  
GOPlotDos  
GOPlotGrid  
See Also
Tech Notes
▪
  • Electronic structure
  • Related Guides
    GROUP THEORY SYMBOL
    • See Also
      • GTBands
      • GTBandStructure
      • GTBandsPlot
      • GTFatBandsPlot
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPartialDOS
    • Related Guides
      • Electronic Structure
    • Tech Notes
      • Electronic structure
      • See Also
        • GTBands
        • GTBandStructure
        • GTBandsPlot
        • GTFatBandsPlot
        • GTDensityOfStates
        • GTDensityOfStatesPlot
        • GTPartialDOS
      • Related Guides
        • Electronic Structure
      • Tech Notes
        • Electronic structure
    GroupTheory`
    GroupTheory`

    GTBandsDOSPlot

    GTBandsDOSPlot[band structure, density of states, number of bands]

    creates a combined plot of band structure and different representations of the density of states.

    Details and Options

    • The band structure is calculated along symmetry lines in the Brillouin zone by means of GTBands. The density of states can be calculated by GTDensityOfStates or GTPartialDOS.
    • The command can be applied to band structures from tight-binding or plane wave electronic structure Hamiltonians, but can be used for photonic band structures as well. The representation of partial DOS is restricted to tight-binding Hamiltonians.
    • The parameter number of bands describes how much bands should be plotted from the band structure data set.
    • The following options can be given:
    • PlotRangeAllOption ofListPlot
      Filling 5Option ofListPlot
      FrameLabel{{" ","Energy (eV)"},{"DOS (states/eV/spin)"," "}}Option ofListPlot
      PlotLabel{Bands, DOS / IDOS, partial DOS}Option ofListPlot
      GOShift 0energy shift
      PlotStyleRGBColor[0, 0, 1]Option ofListPlot
      GOFermiEnergy -100000Fermi energy for plot in band structure
      GOVerboseFalsecontrols output of additional information
      GOPlotDos "DOS"selects style of plot
      GOPlotGrid {800, 400, 40}parameters for plotGrid
    • The command plotGrid is used for the combined figures. Author is "Jens". See Mathematica stack exchange https://mathematica.stackexchange.com/a/6882/53872
    • If GOPlotDos is set to "PDOS" or "ALL", FrameLabel, PlotLabel, and PlotStyle contain information to two plots, or three plots i.e. the definition deviates from the standard in ListPlot. Check examples below.
    • 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.2. A detailed description does not appear in the book.

    Examples

    open all close all
    Wolfram Language code: Needs["GroupTheory`"]

    Basic Examples  (5)

    Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];

    The band structure and DOS of Cu is used as an example. Read and parametrize the Hamiltonian.

    Wolfram Language code: hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

    Choose the path in Brillouin zone and calculate the band structure.

    Wolfram Language code: kp = GTBZPath["fcc"]; kpl = GTBZLines[kp, {50, 50, 50, 50, 50, 50}]; bands = GTBands[hfccp, kpl, 9];
    Wolfram Language code: SetDirectory[$TemporaryDirectory];

    Bands can be stored also to a file for later use.

    Wolfram Language code: GTBands[hfccp, kpl, 9, GOStore -> "Cu.bnds"];

    bands contains the information for a band structure plot and is used in GTBandsPlot.

    Wolfram Language code: GTBandsPlot[bands, 9, PlotRange -> {{0, 4.5}, {-.2, .6}}, Joined -> True]

    The DOS can be calculated using GTDensityOfStates or GTPartialDOS.

    Partial DOS is calculated which contains a complete set of information.

    Wolfram Language code: dosparm = {4, 1, -.2, 1.2, 501, 0., 1, {{"SubscriptBox[e, g]", {7, 9}}, {"SubscriptBox[t, 2 g]", {5, 6, 8}}}};
    Wolfram Language code: GTPartialDOS[hfccp, "fcc", dosparm, GOPlotDos -> "ALL", PlotStyle -> {Blue, Black}, FrameLabel -> {{"DOS", "IDOS"}, {"Energy", " "}}, PlotLabel -> {"DOS and IDOS", "partial DOS"}, PlotRange -> {{-.2, 1.2}, {0, 40}}, GOStore -> "Cu.dos", GOFermiEnergy -> 5.5]

    Combined plots are created. The band structure and DOS are taken from the files

    Wolfram Language code: cudos = GTReadFromFile["Cu.dos"];
    Wolfram Language code: cubnds = GTReadFromFile["Cu.bnds"];

    Plot band structure and DOS  (1)

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS"}, GOPlotDos -> "DOS", GOVerbose -> True, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    Plot band structure, DOS and integrated DOS (IDOS)  (1)

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    Plot band structure and partial DOS  (1)

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "partial DOS"}, GOPlotDos -> "PDOS", GOVerbose -> True, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    Plot band structure, DOS, integrated DOS and partial DOS  (1)

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS/IDOS", "partial DOS"}, GOPlotDos -> "ALL", GOVerbose -> True, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " Energy (eV)"}}]

    Options  (6)

    FrameLabel, PlotLabel, and PlotRange are options of Mathematica's plot functions and are not discussed here. The usage deviates from the standard in ListPlot. Check the examples for a proper setting.

    Filling  (1)

    Filling is an option of ListPlot used to define filling under curves. You can custom your plot accordingly.

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, Filling -> None, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    GOShift  (1)

    Shifts all energies of the bands structure by a constant amount. Note, in the moment the shift is not applied to the DOSes.

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, Filling -> None, GOShift -> -0.11, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    GOFermiEnergy  (1)

    The Fermi energy is calculated during the calculation of the density of states. It can be provided to the plots and it is indicated in the band structure only.

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, Filling -> None, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    GOPlotDos  (1)

    The standard setting for GOPlotDos is "DOS". Additional possible settings are "IDOS", "PDOS" and "ALL". All versions are demonstrated above.

    The package TwoAxisListPlot.m of Mike Honeychurch is used for the case IDOS/ALL (see: http://library.wolfram.com/infocenter/MathSource/7507)

    GOPlotGrid  (1)

    The command plotGrid is used for the combined figures. Author is "Jens". See Mathematica stack exchange https://mathematica.stackexchange.com/a/6882/53872

    The option is used to set the plot size and the with of the boundary region.

    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, Filling -> None, GOPlotGrid -> {800, 400, 20}, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]
    Wolfram Language code: GTBandsDOSPlot[bands, cudos, 9, PlotRange -> {{0.0, 4.5}, {-.2, 1.2}, {0, 45}, 15}, GOFermiEnergy -> 0.561, PlotLabel -> {"Bands", "DOS / IDOS"}, GOPlotDos -> "IDOS", GOVerbose -> True, Filling -> None, GOPlotGrid -> {800, 800, 40}, FrameLabel -> {{" ", "Energy (eV)"}, {"DOS (states/eV/spin)", " "}}]

    See Also

    GTBands  GTBandStructure  GTBandsPlot  GTFatBandsPlot  GTDensityOfStates  GTDensityOfStatesPlot  GTPartialDOS

    Tech Notes
    ▪
  • Electronic structure
  • Related Guides

      ▪
    • Electronic Structure
    Not Found - Wolfram Cloud