Fit tail explicitly in analyse_block_structure_from_gf2.py

This commit is contained in:
Nils Wentzell 2020-08-13 17:17:07 -04:00
parent df285d3fb8
commit 056c421871
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ Gt = BlockGf(name_block_generator = [(name,
known_moments = np.zeros((2,10,10), dtype=np.complex)
known_moments[1,:] = np.eye(10)
Gt['ud'].set_from_fourier(G['ud'], known_moments)
tail, err = fit_tail(G['ud'], known_moments)
Gt['ud'].set_from_fourier(G['ud'], tail)
G_new = SK.analyse_block_structure_from_gf([Gt])
G_new_symm = G_new[0].copy()