triqs.gfs.backwd_compat.gf_legendre.GfLegendre.rank

property GfLegendre.rank

Mesh rank — number of mesh axes.

Returns:
int

1 for a single mesh, otherwise len(mesh.components) for a MeshProduct.