triqs.dos.dos.DOSFromFunction.__init__
-
DOSFromFunction.
__init__
(function, x_min, x_max, n_pts=100, name='')[source] Parameters: - function –
- a function \(\epsilon \rightarrow \rho(\epsilon)\)
- The result type can be anything from which a 1d-array can be constructed by numpy
- x_min,x_max – Bound of the mesh (domain of the function).
- n_pts – Number of points in the mesh.
- name – Name of the DOS.
- function –