From 0b726d5d216568fe71744e4abd910f2777429ad6 Mon Sep 17 00:00:00 2001 From: Sand-jrd Date: Wed, 6 Nov 2024 08:39:56 +0100 Subject: [PATCH] Remove type definitions in function to fix check failures --- vip_hci/preproc/derotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vip_hci/preproc/derotation.py b/vip_hci/preproc/derotation.py index 805445ca..8b5c9607 100644 --- a/vip_hci/preproc/derotation.py +++ b/vip_hci/preproc/derotation.py @@ -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).