triqs.dos.dos.DOSFromFunction

class triqs.dos.dos.DOSFromFunction(function, x_min, x_max, n_pts=100, name='')[source]
  • A DOS class, but constructed from a function.

  • The number of points can be variable and self-adjusted in the Hilbert transform to adapt precision.

Methods

__init__(function, x_min, x_max[, n_pts, name])

param function:
  • a function \(\epsilon \rightarrow \rho(\epsilon)\)

copy()

density([mu])

Calculates the density of free fermions for the given DOS for chemical potential mu.