triqs.gfs.backwd_compat.gf_legendre.GfLegendre.copy_from

GfLegendre.copy_from(another)

In-place copy from another into self.

Parameters:
anotherGf

Source Green’s function. Must have an identical data shape; its mesh is copied into self.mesh.

Raises:
AssertionError

If self.data.shape != another.data.shape.