Closed krivenko closed 10 months ago
A probably related issue is that the Function
descriptor has stopped working for the Legendre GFs.
from triqs.gf import *
from triqs.gf.descriptors import Function
g_l = GfLegendre(beta=1.0, statistic="Fermion", n_points=5, indices=[0])
def f(v):
print(v)
return v
g_l << Function(f)
TRIQS 3.1 output
0
1
2
3
4
TRIQS 3.2 output
None
None
None
None
None
@krivenko Thank you for pointing this out. The plotting is now fixed with https://github.com/TRIQS/triqs/commit/e455cfbbe74078d8c8f186c54167ed56cf8ba7aa
A probably related issue is that the
Function
descriptor has stopped working for the Legendre GFs.
The meshes have been seperated into those where you can sensibly define a MeshPoint
value (MeshImTime
,MeshImFreq
, ...)
and those where the definition is not sensible (MeshLegendre
, MeshDLR
).
The Legendre index can be directly obtained via MeshPoint.index
.
This unfortunately means that the Function descriptor is no longer compatible with MeshLegendre
.
@Wentzell Thank you for the fix, I can confirm that oplot()
works again.
Losing the Function
descriptor is not a major issue but is a bit unfortunate indeed.
Here is the error I am getting when trying to run https://github.com/krivenko/som/blob/master/doc/examples/meshes/plot_chi_rec.py.
Why is the
values()
method missing fromMeshLegendre
?