Skip to content

Commit 9303468

Browse files
committed
Remove unused n_dims parameter from Fourier.inv_shift_fourier
Signed-off-by: Soumya Snigdha Kundu <soumya_snigdha.kundu@kcl.ac.uk>
1 parent 9ddd5e6 commit 9303468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/transforms/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ def shift_fourier(x: NdarrayOrTensor, spatial_dims: int, as_contiguous: bool = F
18851885

18861886
@staticmethod
18871887
def inv_shift_fourier(
1888-
k: NdarrayOrTensor, spatial_dims: int, n_dims: int | None = None, as_contiguous: bool = False
1888+
k: NdarrayOrTensor, spatial_dims: int, as_contiguous: bool = False
18891889
) -> NdarrayOrTensor:
18901890
"""
18911891
Applies inverse shift and fourier transform. Only the spatial

0 commit comments

Comments
 (0)