Skip to content

Commit

Permalink
fine, this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Oct 8, 2024
1 parent 9739a1e commit 6c1d759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/process/phase/direct_ptychography.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def preprocess(
/ self.angular_sampling[0]
)

bf_inds = f[*trotter_inds] < q_probe
bf_inds = f[trotter_inds[0], trotter_inds[1]] < q_probe
low_ind_x = trotter_inds[0][bf_inds][0]
low_ind_y = trotter_inds[1][bf_inds][0]
high_ind_x = trotter_inds[0][~bf_inds][0]
Expand Down

0 comments on commit 6c1d759

Please sign in to comment.