triqs_modest.module.LocalSpace.atomic_view

LocalSpace.atomic_view()

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

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

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

[0] Views a block2gf according to the atomic decomposition.

@


[1] Creates an atomic view of block matrices by extracting specific slices based on the atomic decomposition of the current object.


Parameters
G_C:

A block2_gf spanning the entire C space [0, sigma](M, M)

matrix_C:

The input block matrices object from which the atomic view is created.


Returns

[0] A block2_gf in the atomic decomposition view [atom, sigma][m_orb, m_orb]

[1] new block matrices in the atomic view.