Skip to content

Commit 474f503

Browse files
committed
default to zero-ing nyquist freq in vol.rotate
1 parent a982a9a commit 474f503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aspire/volume/volume.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,15 +506,15 @@ def downsample(self, ds_res, mask=None, zero_nyquist=True):
506506
def shift(self):
507507
raise NotImplementedError
508508

509-
def rotate(self, rot_matrices, zero_nyquist=False):
509+
def rotate(self, rot_matrices, zero_nyquist=True):
510510
"""
511511
Rotate volumes, within a fixed grid, by `rot_matrices`. If `rot_matrices` is a single
512512
rotation, each volume will be rotated by that rotation. If `rot_matrices` is a stack of
513513
rotations of length n_vols, the ith volume will be rotated by the ith rotation.
514514
515515
:param rot_matrices: `Rotation` object of length 1 or n_vols.
516516
:param zero_nyquist: Option to keep or remove Nyquist frequency for even resolution.
517-
Defaults to zero_nyquist=False, keeping the Nyquist frequency.
517+
Defaults to zero_nyquist=True, removing the Nyquist frequency.
518518
519519
:return: `Volume` instance.
520520
"""

0 commit comments

Comments
 (0)