Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:functions:calculateg [2024/11/14 16:49] Aleksandrs Zacinskisdocumentation:language_reference:functions:calculateg [2024/11/14 17:15] (current) Aleksandrs Zacinskis
Line 1: Line 1:
-====== CalculateG (Warning! Page is under development) ======+====== CalculateG ======
  
 ### ###
 +Warning! Page is under development.
 +
 Function //CalculateG(HTB, Options)// calculates single-particle Green's function from a given Tight-Binding Object //HTB//. Function //CalculateG(HTB, Options)// calculates single-particle Green's function from a given Tight-Binding Object //HTB//.
 ### ###
Line 17: Line 19:
 ===== Output ===== ===== Output =====
  
-  * G : Response Function in the Block List of Poles representation $\{\{A_0, a_1, a_2,\dots,a_n\},\{ B_1,B_2, \dots, B_n \}, $ type="ListOfPoles" $\dots \}$, which corresponds to +  * G : Response Function in the Block List of Poles (If not chosen otherwise) representation $\{\{A_0, a_1, a_2,\dots,a_n\},\{ B_1,B_2, \dots, B_n \}, $ type="ListOfPoles" $\dots \}$, which corresponds to 
 $$G(\omega) = A_0 + \sum_{k} \frac{B_k}{\omega-a_k+i\gamma/2}$$ $$G(\omega) = A_0 + \sum_{k} \frac{B_k}{\omega-a_k+i\gamma/2}$$
-where $a_1,\dots,a_n$ are reals, and $A_0,B_1,\dots, B_n$ are matrices of dimensions $N_O \times N_O $, where $N_O$ is the number of orbitals in //HTB.Atoms//.+where $a_1,\dots,a_n$ are real numbers, and $A_0,B_1,\dots, B_n$ are matrices of dimensions $N_O \times N_O $, where $N_O$ is the number of orbitals in //HTB.Atoms//.
 ===== Example ===== ===== Example =====
  
 ### ###
-This example creates Tight-Binding model for 2D layer of CuO2 known also as the Emery model. //CalculateG()// Is used to calculate and plot Green's functions. Code in the example relies on the user-written function //ScalarResponseFunctionFromBlockListOfPolesResponseFunction()// that is given at the end of the page.+This example creates Tight-Binding model for 2D layer of CuO2 also known as the Emery model. //CalculateG()// Is used to calculate and plot Green's functions. Code in the example relies on the user-written function //ScalarResponseFunctionFromBlockListOfPolesResponseFunction()// that is given at the end of the page.
 ### ###
  
Line 95: Line 97:
  
 ==== Result ==== ==== Result ====
-<file Quanty_Output> +Diagonal Elements of the plots below show Partial DOS of Cu,O1,O2.  
-I would like to upload an image but I don't have rights +{{ :documentation:language_reference:functions:pes_ij.png?1250 |}} 
-</file>+
 ==== Used functions ==== ==== Used functions ====
-<code Quanty Example.Quanty>+<code Quanty function.Quanty>
 -- this function extracts G_ij response function of Block List of Poles Response Function object -- this function extracts G_ij response function of Block List of Poles Response Function object
 function ScalarResponseFunctionFromBlockListOfPolesResponseFunction(G0,i,j) function ScalarResponseFunctionFromBlockListOfPolesResponseFunction(G0,i,j)
Print/export