From 361829a791f1c4c3452efc5b447438f2b8da4412 Mon Sep 17 00:00:00 2001 From: ayalalazaro Date: Fri, 13 Dec 2024 14:09:18 +0100 Subject: [PATCH] coronal flipud, fixes #11 --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index fc91c88..5ffb387 100644 --- a/main.py +++ b/main.py @@ -623,9 +623,8 @@ def plot_coronal(self, interpolator): # Interpolate the data on the y=0 plane D_plane = interpolator(points_plane).reshape(Y_plane.shape) - self.data_coronal = np.rot90(D_plane) * self.rescale_factor + self.data_coronal = np.flipud(np.rot90(D_plane)) * self.rescale_factor self.p3.addItem(pg.GridItem()) - # self.p3.getViewBox().invertY(True) self.p3.getViewBox().setAspectLocked(lock=True, ratio=1) self.p3.getAxis("bottom").setLabel("cm")