[GfReTime] Retarded Green’s function in real time
Reference
-
class
triqs.gf.
GfReTime
(**kw)[source] - mesh: MeshReTime, optional
- The mesh of the Green function If not present, it will be constructed from the parameters beta, indices, [n_points], [statistic]
- data: numpy.array, optional
- The data of the Gf. Must be of dimension mesh.rank + target_rank. Incompatible with target_shape
- target_shape: list of int, optional
- Shape of the target space. Incompatible with data
- is_real: bool
- Is the Green function real valued ? If true, and target_shape is set, the data will be real. No effect with the parameter data.
- indices: GfIndices or list of str or list of list of str, Optional
- Optional string indices for the target space, to allow e.g g[‘eg’, ‘eg’] list of list of str: the list of indices for each dimension. list of str: all indices are assumed to be the same for all dimensions.
- name: str
- The name of the Green function. For plotting.
-
conjugate
() Conjugate of the Greens function.
Returns: G – Conjugate of the Greens function. Return type: Gf (copy)
-
set_from_fourier
(*args, **kw) Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,scalar_valued> g_out, gf_view<imfreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imtime,scalar_valued> g_out, block_gf_view<imfreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imtime,scalar_valued> g_out, block2_gf_view<imfreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,scalar_valued> g_out, gf_view<imfreq,scalar_valued> g_in, array_const_view<dcomplex,1+scalar_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<imfreq,scalar_valued> g_out, gf_view<imtime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,scalar_valued> g_out, gf_view<imtime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,scalar_valued> g_out, block_gf_view<imtime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,scalar_valued> g_out, block_gf_view<imtime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,scalar_valued> g_out, block2_gf_view<imtime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,scalar_valued> g_out, block2_gf_view<imtime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,scalar_valued> g_out, gf_view<imtime,scalar_valued> g_in, array_const_view<dcomplex,1+scalar_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<retime,scalar_valued> g_out, gf_view<refreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<retime,scalar_valued> g_out, block_gf_view<refreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<retime,scalar_valued> g_out, block2_gf_view<refreq,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<retime,scalar_valued> g_out, gf_view<refreq,scalar_valued> g_in, array_const_view<dcomplex,1+scalar_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<refreq,scalar_valued> g_out, gf_view<retime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,scalar_valued> g_out, gf_view<retime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,scalar_valued> g_out, block_gf_view<retime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,scalar_valued> g_out, block_gf_view<retime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,scalar_valued> g_out, block2_gf_view<retime,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,scalar_valued> g_out, block2_gf_view<retime,typename scalar_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,scalar_valued> g_out, gf_view<retime,scalar_valued> g_in, array_const_view<dcomplex,1+scalar_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<cyclat,scalar_valued> g_out, gf_view<brzone,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<cyclat,scalar_valued> g_out, block_gf_view<brzone,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<cyclat,scalar_valued> g_out, block2_gf_view<brzone,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<brzone,scalar_valued> g_out, gf_view<cyclat,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<brzone,scalar_valued> g_out, block_gf_view<cyclat,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<brzone,scalar_valued> g_out, block2_gf_view<cyclat,scalar_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,matrix_valued> g_out, gf_view<imfreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imtime,matrix_valued> g_out, block_gf_view<imfreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imtime,matrix_valued> g_out, block2_gf_view<imfreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,matrix_valued> g_out, gf_view<imfreq,matrix_valued> g_in, array_const_view<dcomplex,1+matrix_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<imfreq,matrix_valued> g_out, gf_view<imtime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,matrix_valued> g_out, gf_view<imtime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,matrix_valued> g_out, block_gf_view<imtime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,matrix_valued> g_out, block_gf_view<imtime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,matrix_valued> g_out, block2_gf_view<imtime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,matrix_valued> g_out, block2_gf_view<imtime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,matrix_valued> g_out, gf_view<imtime,matrix_valued> g_in, array_const_view<dcomplex,1+matrix_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<retime,matrix_valued> g_out, gf_view<refreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<retime,matrix_valued> g_out, block_gf_view<refreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<retime,matrix_valued> g_out, block2_gf_view<refreq,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<retime,matrix_valued> g_out, gf_view<refreq,matrix_valued> g_in, array_const_view<dcomplex,1+matrix_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<refreq,matrix_valued> g_out, gf_view<retime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,matrix_valued> g_out, gf_view<retime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,matrix_valued> g_out, block_gf_view<retime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,matrix_valued> g_out, block_gf_view<retime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,matrix_valued> g_out, block2_gf_view<retime,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,matrix_valued> g_out, block2_gf_view<retime,typename matrix_valued::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,matrix_valued> g_out, gf_view<retime,matrix_valued> g_in, array_const_view<dcomplex,1+matrix_valued::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<cyclat,matrix_valued> g_out, gf_view<brzone,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<cyclat,matrix_valued> g_out, block_gf_view<brzone,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<cyclat,matrix_valued> g_out, block2_gf_view<brzone,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<brzone,matrix_valued> g_out, gf_view<cyclat,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<brzone,matrix_valued> g_out, block_gf_view<cyclat,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<brzone,matrix_valued> g_out, block2_gf_view<cyclat,matrix_valued> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,tensor_valued<3>> g_out, gf_view<imfreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imtime,tensor_valued<3>> g_out, block_gf_view<imfreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imtime,tensor_valued<3>> g_out, block2_gf_view<imfreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,tensor_valued<3>> g_out, gf_view<imfreq,tensor_valued<3>> g_in, array_const_view<dcomplex,1+tensor_valued<3>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<imfreq,tensor_valued<3>> g_out, gf_view<imtime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,tensor_valued<3>> g_out, gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,tensor_valued<3>> g_out, block_gf_view<imtime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,tensor_valued<3>> g_out, block_gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,tensor_valued<3>> g_out, block2_gf_view<imtime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,tensor_valued<3>> g_out, block2_gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,tensor_valued<3>> g_out, gf_view<imtime,tensor_valued<3>> g_in, array_const_view<dcomplex,1+tensor_valued<3>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<retime,tensor_valued<3>> g_out, gf_view<refreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<retime,tensor_valued<3>> g_out, block_gf_view<refreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<retime,tensor_valued<3>> g_out, block2_gf_view<refreq,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<retime,tensor_valued<3>> g_out, gf_view<refreq,tensor_valued<3>> g_in, array_const_view<dcomplex,1+tensor_valued<3>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<refreq,tensor_valued<3>> g_out, gf_view<retime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,tensor_valued<3>> g_out, gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,tensor_valued<3>> g_out, block_gf_view<retime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,tensor_valued<3>> g_out, block_gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,tensor_valued<3>> g_out, block2_gf_view<retime,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,tensor_valued<3>> g_out, block2_gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,tensor_valued<3>> g_out, gf_view<retime,tensor_valued<3>> g_in, array_const_view<dcomplex,1+tensor_valued<3>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<cyclat,tensor_valued<3>> g_out, gf_view<brzone,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<cyclat,tensor_valued<3>> g_out, block_gf_view<brzone,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<cyclat,tensor_valued<3>> g_out, block2_gf_view<brzone,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<brzone,tensor_valued<3>> g_out, gf_view<cyclat,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<brzone,tensor_valued<3>> g_out, block_gf_view<cyclat,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<brzone,tensor_valued<3>> g_out, block2_gf_view<cyclat,tensor_valued<3>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,tensor_valued<4>> g_out, gf_view<imfreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imtime,tensor_valued<4>> g_out, block_gf_view<imfreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imtime,tensor_valued<4>> g_out, block2_gf_view<imfreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imtime,tensor_valued<4>> g_out, gf_view<imfreq,tensor_valued<4>> g_in, array_const_view<dcomplex,1+tensor_valued<4>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<imfreq,tensor_valued<4>> g_out, gf_view<imtime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,tensor_valued<4>> g_out, gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,tensor_valued<4>> g_out, block_gf_view<imtime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<imfreq,tensor_valued<4>> g_out, block_gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,tensor_valued<4>> g_out, block2_gf_view<imtime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<imfreq,tensor_valued<4>> g_out, block2_gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<imfreq,tensor_valued<4>> g_out, gf_view<imtime,tensor_valued<4>> g_in, array_const_view<dcomplex,1+tensor_valued<4>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<retime,tensor_valued<4>> g_out, gf_view<refreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<retime,tensor_valued<4>> g_out, block_gf_view<refreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<retime,tensor_valued<4>> g_out, block2_gf_view<refreq,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<retime,tensor_valued<4>> g_out, gf_view<refreq,tensor_valued<4>> g_in, array_const_view<dcomplex,1+tensor_valued<4>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<refreq,tensor_valued<4>> g_out, gf_view<retime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,tensor_valued<4>> g_out, gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,tensor_valued<4>> g_out, block_gf_view<retime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<refreq,tensor_valued<4>> g_out, block_gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,tensor_valued<4>> g_out, block2_gf_view<retime,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<refreq,tensor_valued<4>> g_out, block2_gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<refreq,tensor_valued<4>> g_out, gf_view<retime,tensor_valued<4>> g_in, array_const_view<dcomplex,1+tensor_valued<4>::rank> known_moments) -> None
- Fills self with the Fourier transform of g_in with known high-frequency moments
- Signature(gf_view<cyclat,tensor_valued<4>> g_out, gf_view<brzone,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<cyclat,tensor_valued<4>> g_out, block_gf_view<brzone,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<cyclat,tensor_valued<4>> g_out, block2_gf_view<brzone,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(gf_view<brzone,tensor_valued<4>> g_out, gf_view<cyclat,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block_gf_view<brzone,tensor_valued<4>> g_out, block_gf_view<cyclat,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
- Signature(block2_gf_view<brzone,tensor_valued<4>> g_out, block2_gf_view<cyclat,tensor_valued<4>> g_in) -> None
- Fills self with the Fourier transform of g_in
-
transpose
() Take the transpose of a matrix valued Greens function.
Returns: G – The transpose of the Greens function. Return type: Gf (copy) Notes
Only implemented for single mesh matrix valued Greens functions.
Warning
Arguments of __init__()
must be documented.
HDF5 data scheme
The GfReTime (Format = “GfReTime”) is decomposed in the following objects:
Name | Type | Meaning |
---|---|---|
Mesh | MeshGf | The mesh |
Data | 3d numpy of complex |
|
IndicesL,IndicesR | string | The Python repr of the indices, e.g. (1,2), or (1,) repr(this_string) reproduces the indices |
Name | string | Name of the Green function block |
Note | string | Note |
Example
from math import pi
from triqs.gf import *
gw = GfReFreq(indices = [1], window = (-5, 5), n_points = 1001, name = "egBlock")
gw << SemiCircular(2.0)
gt = GfReTime(indices = [1], mesh = make_adjoint_mesh(gw.mesh), name = "egBlock")
gt << Fourier(gw)
from triqs.plot.mpl_interface import oplot
oplot(gt.imag, '-o')
(Source code, png, hires.png, pdf)