Skip to content

Commit

Permalink
Moved line in align.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewHerzing committed Mar 15, 2024
1 parent 451242d commit aaa9416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomotools/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def get_coms(stack, slices):
Center of mass as a function of tilt for each slice [ntilts, nslices].
"""
com_range = int(sinos.shape[1] / 2)
sinos = stack.data[:, :, slices]
com_range = int(sinos.shape[1] / 2)
y_coordinates = np.linspace(-com_range,
com_range,
sinos.shape[1], dtype="int")
Expand Down

0 comments on commit aaa9416

Please sign in to comment.