triqs_modest.module.symmetrize_gf
- triqs_modest.module.symmetrize_gf()
Function dispatched to the following (C++) functions:
[1] (Gin: BlockGf[MeshImFreq, 2], degenerate_blocks: [[int]]) -> BlockGf[MeshImFreq, 2]
Symmetrize the blocks of a Green’s function given a list of it’s degenerate blocks.
Average the degenerate blocks and replace the degenerate ones with their average.
- Parameters
- Gin:
Block Green’s function
- degenerate_blocks:
a list of the degenerate blocks.
- Returns
The symmetrized Green’s function.