Skip to content

Commit

Permalink
Remove type definitions in function to fix check failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Sand-jrd committed Nov 6, 2024
1 parent 69b8fee commit 0b726d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vip_hci/preproc/derotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _fft_shear(arr, arr_ori, c, ax, pad=0, shift_ini=True):



def tensor_rotate_fft(tensor: torch.Tensor, angle: float) -> torch.Tensor:
def tensor_rotate_fft(tensor, angle):
""" Rotates Tensor using Fourier transform phases:
Rotation = 3 consecutive lin. shears = 3 consecutive FFT phase shifts
See details in Larkin et al. (1997) and Hagelberg et al. (2016).
Expand Down

0 comments on commit 0b726d5

Please sign in to comment.