Skip to content

Commit

Permalink
Merge pull request py4dstem#565 from alex-rakowski/mask_hotpatch
Browse files Browse the repository at this point in the history
fixing is to ==
  • Loading branch information
bsavitzky authored Nov 14, 2023
2 parents e03f0a8 + da327ef commit 76ae0fa
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 is True,
data_mask=mask == True, # noqa E712
)
popt_y, pcov_y, qy0_fit, _ = fit_2D(
f,
qy0_meas,
robust=robust,
robust_steps=robust_steps,
robust_thresh=robust_thresh,
data_mask=mask is True,
data_mask=mask == True, # noqa E712
)

# Compute residuals
Expand Down

0 comments on commit 76ae0fa

Please sign in to comment.