triqs_dft_tools.sumk_dft_transport.transport_coefficient
- triqs_dft_tools.sumk_dft_transport.transport_coefficient(Gamma_w, omega, Om_mesh, spin_polarization, direction, iq, n, beta, method=None)[source]
Calculates the transport coefficient A_n in a given direction for a given \(\Omega\). The required members (Gamma_w, directions, Om_mesh) have to be obtained first by calling the function
transport_distribution. For n>0 A is set to NaN if \(\Omega\) is not 0.0.- Parameters:
- Gamma_wdictionary of double matrices
transport distribution function in each direction, frequency given by Om_mesh_out and omega
- omegalist of double
omega vector
- Om_meshlist of double
frequency mesh of the optical conductivity recomputed on the mesh provided by the self energy
- spin_polarizationinteger
Boolean-type integer whether system is spin-polarized or not
- directionstring
\(\alpha\beta\) e.g.: ‘xx’,’yy’,’zz’,’xy’,’xz’,’yz’.
- iqinteger
Index of \(\Omega\) point in the member Om_mesh.
- ninteger
Number of the desired moment of the transport distribution.
- betadouble
Inverse temperature \(\beta\).
- methodstring
Integration method: cubic spline and scipy.integrate.quad (‘quad’), simpson rule (‘simpson’), trapezoidal rule (‘trapz’), rectangular integration (otherwise) Note that the sampling points of the the self-energy are used!
- Returns:
- Adouble
Transport coefficient.