GTTbFitExport[file,bands] export bands from a tight-binding band structure calculation in GTPack to file to be used to test fitting procedures in SimPack.
Details and Options
Examples
Basic Examples
Symmetry points
Two symmetry lines
Full band structure
Options
GOVerbose
GORestrict
See Also
Tech Notes
Related Guides
GroupTheory`
GroupTheory`
GTTbFitExport
GTTbFitExport[file,bands] export bands from a tight-binding band structure calculation in GTPack to file to be used to test fitting procedures in SimPack.
Details and Options
- To test fitting procedures a TB band structure will be exported. Usually the TB parameters are modified by a small noise to simulate a band structure that deviates from the exact TB band structure. Thus, the task of the fit is to find the exact TB parameters.
- The TB Hamiltonian creates N bands, if N orbitals define the Hamiltonian (N=9 in case of spd-Hamiltonian for Cu). The option GORestrict allows to define the number of bands at each k-point that will be used in the fit.
- Weight factors might be also defined in the fitting procedure itself.
- The following options can be used:
-
GOVerbose True Controls the output of additional information GORestrict {} defines selection of bands - See: Documentation of SimPack and Tutorial SimPack
Examples
open all close allBasic Examples (4)
Needs["GroupTheory`"]Load the fcc Hamiltonian from file and prepare it for the calculation of the Cu band structure.
SetDirectory[NotebookDirectory[] <> "datasets"];
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.
kp = GTBZPath["fcc"];
GTBandStructure[hfccp, kp, 30, 9, Joined -> True]Set directory for temporary output.
SetDirectory[$TemporaryDirectory];We can customize the band structure for our fitting problem, before the output to a file. We can use: the full band structure, only few lines, or only the symmetry points.
Symmetry points (1)
Two symmetry lines (1)
kp1 = {{{(1/2), (1/2), (1/2)}, {0, 0, 0}, {0, 0, 1}}, {"L", "Γ", "X"}};kpl2 = GTBZLines[kp1, {15, 15}];kpline2 = Transpose[kpl2[[1]]][[3]];bands1 = GTBands[hfccp, kpline2, 9, GOPlotBands -> False, GOVerbose -> True];GTTbFitExport["energ.lis", bands1];Options (2)
GOVerbose (1)
GORestrict (1)
In one example above the band structure along two lines is considered. Lets assume that we want to take into account all bands at the symmetry points, but only 6 along the lines.
We find the positions of the symmetry points in the list.
pos = Map[Position[kpline2, #]&, {{(1/2), (1/2), (1/2)}, {0, 0, 0}, {0, 0, 1}}]//Flattennkp = kpline2//Lengthwe = Table[6, {nkp}]we[[1]] = we[[15]] = we[[29]] = 9weGTTbFitExport["energ.li", bands1, GORestrict -> we]Tech Notes
-
▪
- SimPack
Related Guides
-
▪
- SimPack