From 80cd25646232967514a2c3d927b0634bb6fec24e Mon Sep 17 00:00:00 2001 From: Carlos Gomez Date: Fri, 16 Feb 2018 17:13:47 +0100 Subject: [PATCH] Fixed import --- vip_hci/frdiff/framediff.py | 4 ++-- vip_hci/madi/adi_source.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vip_hci/frdiff/framediff.py b/vip_hci/frdiff/framediff.py index 869701b9..9bd4a306 100644 --- a/vip_hci/frdiff/framediff.py +++ b/vip_hci/frdiff/framediff.py @@ -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 @@ -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: diff --git a/vip_hci/madi/adi_source.py b/vip_hci/madi/adi_source.py index dfe71135..1086b09f 100644 --- a/vip_hci/madi/adi_source.py +++ b/vip_hci/madi/adi_source.py @@ -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 @@ -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)