Skip to content

Commit

Permalink
parallax plotting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Nov 14, 2023
1 parent 53ac42f commit 6a9f1ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py4DSTEM/process/phase/iterative_parallax.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,9 @@ def preprocess(
0.5 * (self._reciprocal_sampling[0] * self._dp_mask.shape[0]),
-0.5 * (self._reciprocal_sampling[0] * self._dp_mask.shape[0]),
]
ax[1].imshow(self._dp_mask, extent=reciprocal_extent, cmap="gray")
ax[1].imshow(
self._asnumpy(self._dp_mask), extent=reciprocal_extent, cmap="gray"
)
ax[1].set_title("DP mask")
ax[1].set_ylabel(r"$k_x$ [$A^{-1}$]")
ax[1].set_xlabel(r"$k_y$ [$A^{-1}$]")
Expand Down

0 comments on commit 6a9f1ca

Please sign in to comment.