is an option to control the number of fractional digits in tables.
Details and Options
Examples
Basic Examples
See Also
Related Guides
GroupTheory`
GroupTheory`
GODecimals
is an option to control the number of fractional digits in tables.
Details and Options
- A series of commands of GTPack offer a tabular output of results, especially band structure calculations. This is often connected with the option GOVerbose. The number of fractional digits of the numbers in the table can be set to your needs. The result of the calculation itself is not influenced by this setting.
- Typical values for GODecimals are 3 to 7.
Examples
Basic Examples (1)
Needs["GroupTheory`"]Load the Hamiltonian corresponding to fcc structure and spd basis.
SetDirectory[NotebookDirectory[] <> "datasets"];ham = GTReadFromFile["fcc_spd.ham"];SetDirectory[NotebookDirectory[] <> "datasets/TB_parametersets"];cuparm = GTTbDatabaseRetrieve["TB_Handbook", "Cu"];hamp = ham /. GTTbParmToRule[cuparm];kp = GTBZPath["fcc"];kpl = GTBZLines[kp, {2, 2, 2, 2, 2, 2}];The standard of 4 fractional digits is used
{ev, wv} = GTBands[hamp, kpl, 9, GOVerbose -> True, GOEigenvectors -> True];Change the number of fractional digits.
{ev, wv} = GTBands[hamp, kpl, 9, GOVerbose -> True, GOEigenvectors -> True, GODecimals -> 7];```{ev, wv} = GTBands[hamp, kpl, 9, GOVerbose -> True, GOEigenvectors -> True, GODecimals -> 3];