Skip to content

Commit

Permalink
swap reciprocal space too
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Jan 5, 2025
1 parent a1c4d14 commit 52ea492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py4DSTEM/tomography/tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ def _prepare_datacube(
0,
np.inf,
)
if self._transpose_xy:
datacube.data = datacube.data.swapaxes(-1, -2)

# resize diffraction space
if diffraction_intensities_shape is not None:
Expand Down

0 comments on commit 52ea492

Please sign in to comment.