From cc87a91ee0e8e88a45ea8c84975423122de9daa6 Mon Sep 17 00:00:00 2001 From: IainHammond Date: Thu, 27 Aug 2026 11:36:25 +0200 Subject: [PATCH 1/4] IPCA_Params now exposed --- src/vip_hci/greedy/ipca_fullfr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vip_hci/greedy/ipca_fullfr.py b/src/vip_hci/greedy/ipca_fullfr.py index e2159138..fd87f15a 100644 --- a/src/vip_hci/greedy/ipca_fullfr.py +++ b/src/vip_hci/greedy/ipca_fullfr.py @@ -44,7 +44,7 @@ """ __author__ = 'Valentin Christiaens, Sandrine Juillard' -__all__ = ['ipca'] +__all__ = ['ipca', 'IPCA_Params'] from dataclasses import dataclass import numpy as np From 9ed32c2f2303618759d8f8798e439f7a34616ca9 Mon Sep 17 00:00:00 2001 From: IainHammond Date: Thu, 27 Aug 2026 11:36:48 +0200 Subject: [PATCH 2/4] fixed wrong info in description --- src/vip_hci/metrics/contrcurve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vip_hci/metrics/contrcurve.py b/src/vip_hci/metrics/contrcurve.py index d70c45d7..ecb97177 100644 --- a/src/vip_hci/metrics/contrcurve.py +++ b/src/vip_hci/metrics/contrcurve.py @@ -84,7 +84,7 @@ def contrast_curve( non-coronagraphic PSF which we use to scale the contrast. If a vector is given it must contain the photometry correction for each frame. algo : callable or function - The post-processing algorithm, e.g. vip_hci.pca.pca. + The post-processing algorithm, e.g. vip_hci.psfsub.pca. sigma : int Sigma level for contrast calculation. Note this is a "Gaussian sigma" regardless of whether Student t correction is performed (set by the From 51f2b30eb015d2c03c8a893e03ad53ff353c5ad6 Mon Sep 17 00:00:00 2001 From: IainHammond Date: Thu, 27 Aug 2026 11:38:11 +0200 Subject: [PATCH 3/4] contrast_curve: fixed wrong info in output description --- src/vip_hci/metrics/contrcurve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vip_hci/metrics/contrcurve.py b/src/vip_hci/metrics/contrcurve.py index ecb97177..d30e7c10 100644 --- a/src/vip_hci/metrics/contrcurve.py +++ b/src/vip_hci/metrics/contrcurve.py @@ -175,7 +175,7 @@ def contrast_curve( pixels, the noise and the sigma corrected (if Student is True). If full_output is True then the function returns: - datafr, cube_fc_all, frame_fc_all, frame_nofc and fc_map_all. + datafr, frame_fc_all, frame_nofc and fc_map_all. frame_fc_all : numpy ndarray 3d array with the 3 frames of the 3 (patterns) processed cubes with From b48166ec40f8909b0f142da93a4b3b375e696291 Mon Sep 17 00:00:00 2001 From: IainHammond Date: Wed, 9 Sep 2026 20:40:10 +0200 Subject: [PATCH 4/4] get_mu_and_sigma: bug fix of theta parameter for 4D case --- src/vip_hci/fm/negfc_fmerit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vip_hci/fm/negfc_fmerit.py b/src/vip_hci/fm/negfc_fmerit.py index b1d9668a..1e6f3485 100644 --- a/src/vip_hci/fm/negfc_fmerit.py +++ b/src/vip_hci/fm/negfc_fmerit.py @@ -740,7 +740,7 @@ def get_mu_and_sigma(cube, angs, ncomp, annulus_width, aperture_radius, fwhm, planet_parameter = (r_guess, theta_guess, f_guess[0]) else: r_all = [r_guess]*len(f_guess) - theta_all = [r_guess]*len(f_guess) + theta_all = [theta_guess]*len(f_guess) planet_parameter = np.array([r_all, theta_all, f_guess]) array = cube_planet_free(planet_parameter, cube, angs, psfn, imlib=imlib, interpolation=interpolation,