diff --git a/vip_hci/preproc/derotation.py b/vip_hci/preproc/derotation.py index 57d3d043..2f7fd0be 100644 --- a/vip_hci/preproc/derotation.py +++ b/vip_hci/preproc/derotation.py @@ -89,11 +89,11 @@ def frame_rotate(array, angle, imlib='vip-fft', interpolation='lanczos4', with a gaussian filter. Slower but can significantly reduce ringing artefacts from Gibbs phenomenon, in particular if several consecutive rotations are involved in your image processing. - + - 'noise': pad with small amplitude noise inferred from neighbours - 'interp': interpolated from neighbouring pixels using Gaussian kernel. - 'noise+interp': sum both components above at masked locations. - + Original mask will be placed back after rotation. interp_zeros: bool, opt [only used if edge_blend is not None] @@ -539,14 +539,14 @@ def rotate_fft(array, angle): ------- array_out : numpy ndarray Resulting frame. - + Note ---- This method is slower than interpolation methods (e.g. opencv/lanczos4 or ndimage), but preserves the flux better (by construction it preserves the total power). It is more prone to large-scale Gibbs artefacts, so make sure no sharp edge nor bad pixels are present in the image to be rotated. - + Note ---- Warning: if input frame has even dimensions, the center of rotation