Skip to content

Commit

Permalink
coronal flipud, fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
ayalalazaro committed Dec 13, 2024
1 parent c9e0bee commit 361829a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 361829a

Please sign in to comment.