Skip to content

Commit

Permalink
fixed incorrect mrc data type (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
milesagraham authored May 17, 2024
1 parent db26b3c commit dd921c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttmask/cylinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def cylinder(

c = boxsize // 2
center = np.array([c, c, c])
mask = np.zeros(shape=(boxsize, boxsize, boxsize))
mask = np.zeros(shape=(boxsize, boxsize, boxsize), dtype=np.float32)

# 3d positions of all voxels
positions = np.indices([boxsize, boxsize, boxsize])
Expand Down

0 comments on commit dd921c5

Please sign in to comment.