gw_embedding.iaft.IAFT.check_leakage

IAFT.check_leakage(Ot, stats: str, name: str = '', w_input: bool = False)[source]

Check decay of the IR coefficients to assess the quality of IR basis for the beta and lambda. The coefficients should decay exponentially, and the leakage is defined as:

leakage = the smallest coefficients / the largest coefficients

Parameters:
  • Ot

  • stats

  • name

  • w_input

Returns: