triqs.gf.block2_gf.Block2Gf
- class triqs.gf.block2_gf.Block2Gf(name_list1, name_list2, block_list, **kwargs)[source]
Generic Green’s Function by two-index Block.
Methods
|
|
|
Returns a (deep) copy of self (i.e. new independent Blocks initialised with self). |
|
Copy the Green's function from G2: G2 MUST have the same structure! |
|
Returns a COPY of the selected blocks of self, in the same order as self. |
|
Returns a VIEW of the selected blocks of self, in the same order as self. |
|
Attributes
An Iterator on Block2Gf indices and indices of the blocks of the form: block_index1,block_index2,n1,n2, where n1,n2 are indices of the block |
|
A Gf with only the imag part of data. |
|
A generator of the block indices |
|
A generator of the first block indices |
|
A generator of the second block indices |
|
Number of blocks |
|
A Gf with only the real part of data. |