diff --git a/masci_tools/tools/greensfunction.py b/masci_tools/tools/greensfunction.py index d4c5113ac..0588352e4 100644 --- a/masci_tools/tools/greensfunction.py +++ b/masci_tools/tools/greensfunction.py @@ -678,7 +678,7 @@ def average_spindiagonal(self) -> None: self._data[name] = data for name in self._data.keys(): - for m in range(2*self.lmax+1): + for m in range(2 * self.lmax + 1): self._data[name][:, m, m, 0] = (self._data[name][:, m, m, 0] + self._data[name][:, m, m, min(1, self.nspins - 1)]) / 2 if self.nspins > 1: @@ -692,7 +692,6 @@ def average_spindiagonal(self) -> None: data = np.einsum('ij,xjk...,km->xim...', rot_real_space.T.conj(), data, rotp_real_space) self._data[name] = data - def to_global_frame(self) -> None: """ Rotate the Green's function into the global real space and spin space frame