pwtools.thermo.einstein_func

pwtools.thermo.einstein_func(x)[source]

Einstein function

\(f(x) = 1 / [ \exp(x) - 1 ]\)

Parameters:

x (float or 1d array)