triqs_dft_tools.sumk_dft_tools.SumkDFTTools.rotloc
- SumkDFTTools.rotloc(ish, gf_to_rotate, direction, shells='corr')
Rotates a block of the local Green’s function from the local frame to the global frame and vice versa.
- Parameters:
- ishinteger
Shell index of GF to be rotated.
if shells=’corr’: ish labels all correlated shells (equivalent or not)
if shells=’all’: ish labels only representative (inequivalent) non-correlated shells
- gf_to_rotateGf
Block of the Green’s function that is to be rotated.
- directionstring
The direction of rotation can be either
‘toLocal’ : global -> local transformation,
‘toGlobal’ : local -> global transformation.
- shellsstring, optional
if shells=’corr’: the rotation matrix for the correlated shell ‘ish’ is used,
if shells=’all’: the rotation matrix for the generic (non-correlated) shell ‘ish’ is used.
- Returns:
- gf_rotatedGf
Rotated block of the local Green’s function.