// Compute the northern hemisphere map
if self._spectral:
Z_north = np.array([np.dot(X, self.y[:, n]).reshape(res // 2, res)
for n in range(self.nw)])
else:
Z_north = np.dot(X, self.y).reshape(nframes, res // 2, res)
After Change
Z_north = np.array(self.intensity(x=x, y=y, **model_kwargs))
if self._spectral:
Z_north = Z_north.reshape(res // 2, res, self.nw)
Z_north = np.moveaxis(Z_north, -1, 0)
else:
Z_north = Z_north.reshape(nframes, res // 2, res)
// Flip the planet around