PAOFLOW.arpes.spectral#

Spectral functions with band-resolved self-energies, Fermi factor and resolution broadening.

Attributes#

Classes#

ConstantSelfEnergy

Sigma = -i Gamma: a constant linewidth (eV, half width).

GridSelfEnergy

Sigma(w) interpolated from a tabulated complex function (k- and band-independent).

Functions#

fermi_function(w, temperature_k)

Fermi-Dirac occupation on the energy grid w (eV, relative to E_F); ones without T.

spectral_function(energies, self_energy, w)

A[k, n, w] = -Im[1 / (w - e_nk - Sigma_nk(w) + i eta)] / pi.

assemble_intensity(weights, energies, w, self_energy)

I[k, w] = sum_n |M_nk|^2 A_nk(w) f(w), in blocks of k-points.

kramers_kronig_self_energy(w, im_sigma[, pad])

Sigma(w) from its imaginary part by the Kramers-Kronig relation (Hilbert transform).

gaussian_broadening(intensity, fwhm_per_axis, ...)

Gaussian resolution broadening along every axis (FWHM and grid spacing per axis).

Module Contents#

PAOFLOW.arpes.spectral.KB_EV = 8.617333262e-05[source]#
PAOFLOW.arpes.spectral.ETA_MIN = 5e-05[source]#
PAOFLOW.arpes.spectral.SIGMA_PER_FWHM[source]#
PAOFLOW.arpes.spectral.fermi_function(w, temperature_k)[source]#

Fermi-Dirac occupation on the energy grid w (eV, relative to E_F); ones without T.

PAOFLOW.arpes.spectral.spectral_function(energies, self_energy, w)[source]#

A[k, n, w] = -Im[1 / (w - e_nk - Sigma_nk(w) + i eta)] / pi.

Parameters:
  • energies (ndarray (nk, nb)) – Band energies (eV).

  • self_energy (complex or ndarray broadcastable to (nk, nb, nw)) – Sigma (eV): a constant, a function of w (nw,), or state-resolved.

  • w (ndarray (nw,))

Return type:

ndarray (nk, nb, nw)

PAOFLOW.arpes.spectral.assemble_intensity(weights, energies, w, self_energy, temperature_k=None, kpoints=None, kblock=256, bands=None)[source]#

I[k, w] = sum_n |M_nk|^2 A_nk(w) f(w), in blocks of k-points.

Parameters:
  • weights (ndarray (nk, nb)) – Matrix-element weights.

  • energies (ndarray (nk, nb)) – Band energies (eV, relative to E_F).

  • w (ndarray (nw,))

  • self_energy (complex, ndarray or callable) – A constant, an array broadcastable to (nk, nb, nw), or f(w, energies, kpoints, bands) returning one of these for the block it is given (kpoints of the block when supplied).

  • temperature_k (float, optional)

  • kpoints (ndarray (nk, 3), optional) – Passed to a callable self-energy.

  • kblock (int, optional)

  • bands (ndarray of int, optional) – Band indices of the second axis, passed to a callable self-energy as its fourth argument.

Return type:

ndarray (nk, nw)

class PAOFLOW.arpes.spectral.ConstantSelfEnergy(gamma_ev)[source]#

Sigma = -i Gamma: a constant linewidth (eV, half width).

gamma_ev[source]#
class PAOFLOW.arpes.spectral.GridSelfEnergy(w_grid, sigma)[source]#

Sigma(w) interpolated from a tabulated complex function (k- and band-independent).

w_grid[source]#
sigma[source]#
PAOFLOW.arpes.spectral.kramers_kronig_self_energy(w, im_sigma, pad=50)[source]#

Sigma(w) from its imaginary part by the Kramers-Kronig relation (Hilbert transform).

Parameters:
  • w (ndarray (nw,)) – Uniform energy grid (eV).

  • im_sigma (ndarray (nw,)) – Im Sigma(w) <= 0; it is extended by its edge values over pad times the window on both sides (chinook gen_SE_KK extends over 100 windows) before the transform.

  • pad (int, optional)

Returns:

Re Sigma + i Im Sigma on w.

Return type:

ndarray (nw,), complex

Notes

\(\mathrm{Re}\,\Sigma(\omega) = -\mathcal H[\mathrm{Im}\,\Sigma](\omega)\) with \(\mathcal H\) the Hilbert transform (scipy.signal.hilbert returns f + i H[f]), the retarded self-energy being analytic in the upper half plane.

PAOFLOW.arpes.spectral.gaussian_broadening(intensity, fwhm_per_axis, spacing_per_axis)[source]#

Gaussian resolution broadening along every axis (FWHM and grid spacing per axis).

Axes with a zero FWHM or an undefined spacing are not broadened.