Skip to content

Commit

Permalink
Adding 8-direction search, commented out
Browse files Browse the repository at this point in the history
Former-commit-id: a20af2f
  • Loading branch information
cophus committed Dec 3, 2023
1 parent 07579fe commit 788bcf6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions py4DSTEM/process/phase/iterative_parallax.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,16 @@ def subpixel_alignment(
[ 0.0, -1.0],
[ 0.0, 1.0],
])
# dxy = np.array([
# [-1.0, 0.0],
# [ 1.0, 0.0],
# [ 0.0, -1.0],
# [ 0.0, 1.0],
# [-0.71, -0.71],
# [ 0.71, -0.71],
# [-0.71, 0.71],
# [ 0.71, 0.71],
# ])
scores_test = xp.zeros((
dxy.shape[0],
scores.shape[0],
Expand Down

0 comments on commit 788bcf6

Please sign in to comment.