Skip to content

Commit

Permalink
Fixed import
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-gg committed Feb 16, 2018
1 parent 8bc7896 commit 80cd256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vip_hci/frdiff/framediff.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from ..preproc import cube_derotate, cube_collapse, check_pa_vector
from ..conf import time_ini, timing
from ..pca.utils_pca import pca_annulus
from ..pca.pca_local import define_annuli
from ..pca.pca_local import _define_annuli
from ..madi.adi_source import _find_indices
from ..conf import eval_func_tuple as EFT

Expand Down Expand Up @@ -143,7 +143,7 @@ def _pairwise_ann(ann, n_annuli, fwhm, angles, delta_rot, metric,

n_frames = array.shape[0]

pa_threshold, in_rad, ann_center = define_annuli(angles, ann, n_annuli,
pa_threshold, in_rad, ann_center = _define_annuli(angles, ann, n_annuli,
fwhm, radius_int, asize,
delta_rot, verbose)
if ncomp is not None:
Expand Down
4 changes: 2 additions & 2 deletions vip_hci/madi/adi_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ..conf import time_ini, timing
from ..var import get_annulus, mask_circle
from ..preproc import cube_derotate, cube_collapse, check_pa_vector
from ..pca.pca_local import define_annuli
from ..pca.pca_local import _define_annuli
from ..conf import eval_func_tuple as EFT


Expand Down Expand Up @@ -173,7 +173,7 @@ def _median_subt_ann(ann, angle_list, n_annuli, fwhm, radius_int, annulus_width,
# The annulus is built, and the corresponding PA thresholds for frame
# rejection are calculated. The PA rejection is calculated at center of
# the annulus
pa_thr, inner_radius, _ = define_annuli(angle_list, ann, n_annuli, fwhm,
pa_thr, inner_radius, _ = _define_annuli(angle_list, ann, n_annuli, fwhm,
radius_int, annulus_width,
delta_rot, verbose)

Expand Down

0 comments on commit 80cd256

Please sign in to comment.