eliashberg: parameters for McMillan’s formula

elphmod.eliashberg.McMillan(nq, e, w2, g2, eps=1e-10, mustar=0.0)

Calculate parameters and result of McMillan’s formula.

Parameters
nqinteger

Number of q points per dimension.

endarray

Electron dispersion on uniform mesh. The Fermi level must be at zero.

w2ndarray

Squared phonon frequencies for irreducible q points.

g2ndarray

Squared electron-phonon coupling (energy to the power of three).

epsfloat

Phonon frequencies squared below eps are set to eps; corresponding coupling are set to zero.

mustarfloat

Coulomb pseudopotential.

Returns
float

Effective electron-phonon coupling strength lamda.

float

Effective phonon frequency <omega>.

float

Estimated critical temperature of superconductivity.

elphmod.eliashberg.Tc(lamda, wlog, mustar=0.1)

Calculate critical temperature using McMillan’s formula.

Parameters
lamdafloat

Effective electron-phonon coupling strength.

wlogfloat

Effective phonon energy in eV.

mustarfloat

Coulomb pseudopotential.

Returns
float

Critical temperature in kelvin.