def dos( TB, nkpts, neps, Name) : """ :param TB: a tight_binding object :param nkpts: the number of k points to use in each dimension :param neps: number of points used in the binning of the energy :param Name: name of the resulting dos :rtype: return a list of DOS, one for each band """ eps, arr = dos_c(TB, nkpts,neps) return [ DOS (eps, arr[:,i], Name) for i in range (arr.shape[1]) ]
def dos_patch( TB, triangles, nkpts, ndiv, Name) : """ To be written """ eps, arr = dos_c(TB, nkpts,eps) return DOS (eps, arr, Name)
def dos_patch(tight_binding, triangles, n_kpts, n_div, name) : """ To be written """ eps, arr = dos_c(tight_binding, n_kpts, eps) return DOS (eps, arr, name)