Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Dec 6, 2023
1 parent d669df3 commit 0c7e795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py4DSTEM/datacube/virtualimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,7 @@ def make_bragg_mask(
Returns:
(2 or 3D array) the mask
"""
nas = np.asarray
g1, g2, origin = nas(g1), nas(g2), nas(origin)
g1, g2, origin = np.asarray(g1), np.asarray(g2), np.asarray(origin)

rotation_rad = np.deg2rad(rotation_deg)
cost = np.cos(rotation_rad)
Expand Down

0 comments on commit 0c7e795

Please sign in to comment.