gw_embedding.iaft.IAFT.wn_mesh

IAFT.wn_mesh(stats: str, ir_notation: bool = True)[source]

Return Matsubara frequency indices. :param stats: str

statistics: ‘f’ for fermions and ‘b’ for bosons

Parameters:

ir_notation – bool Whether wn_mesh_interp is in sparse_ir notation where iwn = n*pi/beta for both fermions and bosons. Otherwise, iwn = (2n+1)*pi/beta for fermions and 2n*pi/beta for bosons.

Returns:

numpy.ndarray(dim=1) Matsubara frequency indices