Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
VChristiaens committed Aug 1, 2023
1 parent f7ef8bd commit 1d870b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vip_hci/preproc/derotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1d870b9

Please sign in to comment.