triqs.gfs.gf.Gf.copy_from

Gf.copy_from(another)[source]

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.