GTTbParmImport
Details and Options
- The following option can be used:
-
GOVerbose False Controls the output of additional information. GODecimals 5 Controls number of digits in table - See: Documentation of SimPack.
After fitting a TB model to band structure data the fitted parameters are stored in a file. The aim of this command is, to read this data set for further use in GTPack. Here it is necessary to recover the notation for the TB-parameters in GTPack. To achieve this, parameter set has to have exactly the same structure as the set in file.
Examples
open all close allBasic Examples (1)
Needs["GroupTheory`"]Set the directory and read the database.
dir = NotebookDirectory[] <> "/datasets/";SetDirectory[dir <> "TB_parametersets"];Print the parameter set of Cu from the database of TB parameters.
GTTbPrintParmSet["TB_Handbook", "Cu"];cup = GTTbDatabaseRetrieve["TB_Handbook", "Cu"];This data set can be exported by means of GTTbParmExport to a file to be used as a starting approximation for a fit. After the fit GTTbParmImport is used to import the result of the fit to GTPack.
SetDirectory[dir <> "Simpack"];The file "cu_f1_1.parm" contains a result from the fit with genetic algorithms.
GTTbParmImport["cu_f1_1.parm", cup]
You get an error message, because the last three parameters in the set cup are not used in the fit.
cup1 = cup[[1 ;; 23]];GTTbParmImport["cu_f1_1.parm", cup1]Options (2)
Tech Notes
-
▪
- SimPack
Related Guides
-
▪
- SimPack