Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:language_reference:objects:responsefunction:functions:calculatehybridizationfunction [2024/09/16 11:53] – created Maurits W. Haverkort | documentation:language_reference:objects:responsefunction:functions:calculatehybridizationfunction [2024/12/24 00:19] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 3: | Line 3: | ||
### | ### | ||
- | alligned paragraph text | + | Responsefunction.CalculateHybridizationFunction(G0, |
### | ### | ||
+ | |||
+ | ===== Input ===== | ||
+ | |||
+ | - $G_0$ the one particle Green' | ||
+ | - $\Sigma$ the local self energy. Given in one of the available response function formats. | ||
+ | - A list of options. Available are | ||
+ | * EnergyGrid - a table of discrete energies used for the possible values of the Bath energies for a representation of $G_{Bath}(\omega)$ in Anderson matrix format. | ||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | - A response function representing $G_{Bath}(\omega)$. | ||
===== Example ===== | ===== Example ===== | ||
### | ### | ||
- | description text | + | The example below uses some arbitrary definition for $G_0$ and $\Sigma$. Examples where these functions are used can be found in the tutorials. |
### | ### | ||
==== Input ==== | ==== Input ==== | ||
<code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
- | -- some example code | + | a = {0, 0, -2,0,2} |
+ | b = { | ||
+ | G0 = ResponseFunction.New( { a, b, mu=0, type=" | ||
+ | |||
+ | a = {0,0,0,0} | ||
+ | b = {0.1, | ||
+ | Sigma = ResponseFunction.New( { a, b, mu=0, type=" | ||
+ | |||
+ | GHyb = ResponseFunction.CalculateHybridizationFunction(G0, | ||
+ | |||
+ | print(" | ||
+ | print(G0) | ||
+ | print(" | ||
+ | print(Sigma) | ||
+ | print(" | ||
+ | print(GHyb) | ||
</ | </ | ||
==== Result ==== | ==== Result ==== | ||
<file Quanty_Output> | <file Quanty_Output> | ||
- | text produced as output | + | The non interacting Green' |
+ | { { 0 , 0 , -2 , 0 , 2 } , | ||
+ | { 1 , 1 , 1 , 1 } , | ||
+ | name = G0 , | ||
+ | mu = 0 , | ||
+ | type = And } | ||
+ | The self energy | ||
+ | { { 0 , 0 , 0 , 0 } , | ||
+ | { 0.1 , 0.1 , 0.1 } , | ||
+ | name = Sigma , | ||
+ | mu = 0 , | ||
+ | type = Tri } | ||
+ | The bath Green' | ||
+ | { { 0 , 0 , -2.0049999999223 , -0.16180339887499 , -0.14261254104408 , -0.14010864678943 , -0.061803398874989 , -0.0024961056676115 , 0.0024961056676115 , 0.061803398874989 , 0.14010864678943 , 0.14261254104408 , 0.16180339887499 , 2.0049999999223 } , | ||
+ | { 1 , 0.99874921790792 , 0.37174803446018 , 0.0238150684481 , 0.026242558358305 , 0.60150095500755 , 0.03527279934937 , 0.03527279934937 , 0.60150095500755 , 0.026242558358305 , 0.0238150684481 , 0.37174803446018 , 0.99874921790792 } , | ||
+ | name = GBath , | ||
+ | mu = 0 , | ||
+ | type = And } | ||
</ | </ | ||
===== Table of contents ===== | ===== Table of contents ===== | ||
- | {{indexmenu> | + | {{indexmenu> |