Closed abdelghany0 closed 1 year ago
Dear @abdelghany0,
the script is for a quite old version of triqs. With the rework of the meshes that happened a few years ago the beta
of a Gf is accessed within the mesh of a Gf as Gf.mesh.beta
:
mesh = MeshLegendre(S= 'Fermion', beta=40, max_n=20)
Gl = Gf(mesh = mesh, target_shape=[])
print(Gl.mesh.beta)
>>> 40
Hence, you have to change the script slightly to g_l.mesh.beta
to work again. The rest of the script looks okay to me, but let me know if there are further problems.
Best, Alex
Hi Alex,
After modifying the script I got:
AttributeError: 'GfLegendre' object has no attribute 'N1'
best,
Ragab
Ah I think this is supposed to be the dimension of the Gf. Changing g_cut.N1
to g_cut.target_shape[0]
should be the new correct way of doing this.
Does it usually take long time to finish the analytic continuation? One hour so far, and still running!!
I do not have any experience with the SOM analytic continuation. Typically I use MaxEnt or Pade which takes less long. But it is definitely time consuming.
You are using https://github.com/krivenko/som, correct? Maybe @krivenko can comment on the typical run-times?
@abdelghany0 Let us close this issue and continue discussing in https://github.com/krivenko/som/issues/7
Also, please refrain from opening identical issues in multiple repositories. This repository is devoted to the TRIQS library. Issues pertaining to the applications, such as pomerol2triqs and SOM, should be reported in their respective repositories.
@krivenko I realized that after reporting the issue here. However, I reported the issue in SOM repository, where you graciously resolved it.
Plese close the issue here.
I tried to follow this tutorial to perform analytically continue using SOM. I used this Python script "
somAC.py
":but I got the following error: