triqs_modest.module.Embedding.extract

Embedding.extract()

Function dispatched to the following (C++) functions:

[1] (g: Block2Gf[MeshImFreq, 2])
  -> [BlockGf[MeshImFreq, 2]]

[2] (g: Block2Gf[MeshReFreq, 2])
  -> [BlockGf[MeshReFreq, 2]]

[3] (g: Block2Gf[MeshDLRImFreq, 2])
  -> [BlockGf[MeshDLRImFreq, 2]]

[4] (matrix_C: ndarray[ndarray[complex, 2], 2])
  -> [[ndarray[complex, 2]]]

[5] (g_loc: ndarray[complex, 4])
  -> [[ndarray[complex, 3]]]

[6] (Pi_loc: ndarray[complex, 5])
  -> [ndarray[complex, 5]]

[0, 1, 2] Extract the impurity Green’s function


[3] extract matrices


[4] extract single-particle quantities (CoQui)


[5] extract two-particle quantities (CoQui)


Parameters
g:

Block2Gf of gloc in MxM space


Returns

local impurity Green’s function