From 38413c5fa8638760f669811517f0b7f4e967031a Mon Sep 17 00:00:00 2001 From: IainHammond Date: Tue, 14 Apr 2026 13:23:40 +0200 Subject: [PATCH] critical indexing fix --- src/vip_hci/psfsub/pca_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vip_hci/psfsub/pca_local.py b/src/vip_hci/psfsub/pca_local.py index 9293eec5..9d3be981 100644 --- a/src/vip_hci/psfsub/pca_local.py +++ b/src/vip_hci/psfsub/pca_local.py @@ -412,7 +412,7 @@ def pca_annular(*all_args: List, **all_kwargs: dict): n_annuli, algo_params.fwhm) ) # apply the same first pass to cube ref - nr = algo_params.cube_ref.shape[0] + nr = algo_params.cube_ref.shape[1] add_params['do_ref'] = True add_params["fr"] = iterable(range(nr)) func_params_ref = setup_parameters(