Skip to content

Commit

Permalink
fixed conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
VChristiaens committed Mar 14, 2024
1 parent 158c829 commit aefe41c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vip_hci/var/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
'mask_roi']

import numpy as np
<<<<<<< HEAD
from skimage.draw import disk, ellipse, polygon
=======
from skimage.draw import polygon, disk
>>>>>>> master
from sklearn.preprocessing import scale

from hciplot import plot_frames
Expand Down Expand Up @@ -561,7 +557,8 @@ def get_annulus_segments(data, inner_radius, width, nsegm=1, theta_init=0,
masks.append((rad >= inner_radius) & (rad < outer_radius) &
(phirot >= phi_start) & (phirot < phi_end))

if out: mask = ~np.array(masks)
if out:
masks = ~np.array(masks)

if mode == "ind":
return [np.where(mask) for mask in masks]
Expand Down

0 comments on commit aefe41c

Please sign in to comment.