Skip to content

Commit

Permalink
Revert "Merge pull request #565 from alex-rakowski/mask_hotpatch"
Browse files Browse the repository at this point in the history
This reverts commit 76ae0fa, reversing
changes made to e03f0a8.
  • Loading branch information
bsavitzky committed Nov 16, 2023
1 parent ac9c0d1 commit 8a26648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py4DSTEM/process/calibration/origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ def fit_origin(
robust=robust,
robust_steps=robust_steps,
robust_thresh=robust_thresh,
data_mask=mask == True, # noqa E712
data_mask=mask is True,
)
popt_y, pcov_y, qy0_fit, _ = fit_2D(
f,
qy0_meas,
robust=robust,
robust_steps=robust_steps,
robust_thresh=robust_thresh,
data_mask=mask == True, # noqa E712
data_mask=mask is True,
)

# Compute residuals
Expand Down

0 comments on commit 8a26648

Please sign in to comment.