mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 18:16:03 +01:00
Fit tail explicitly in analyse_block_structure_from_gf2.py
This commit is contained in:
parent
df285d3fb8
commit
056c421871
@ -90,7 +90,8 @@ Gt = BlockGf(name_block_generator = [(name,
|
|||||||
|
|
||||||
known_moments = np.zeros((2,10,10), dtype=np.complex)
|
known_moments = np.zeros((2,10,10), dtype=np.complex)
|
||||||
known_moments[1,:] = np.eye(10)
|
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 = SK.analyse_block_structure_from_gf([Gt])
|
||||||
G_new_symm = G_new[0].copy()
|
G_new_symm = G_new[0].copy()
|
||||||
|
Loading…
Reference in New Issue
Block a user