diff --git a/vip_hci/fm/negfc_fmerit.py b/vip_hci/fm/negfc_fmerit.py index bea0dc4c..b74eb844 100644 --- a/vip_hci/fm/negfc_fmerit.py +++ b/vip_hci/fm/negfc_fmerit.py @@ -970,6 +970,8 @@ def _estimate_mu_sigma_3d(cube, angs, ncomp, annulus_width, aperture_radius, fwhm = [fwhm]*nch if f_guess is None or np.isscalar(f_guess): f_guess = [f_guess]*nch + if psfn is None: + psfn = [psfn]*nch for ch in range(nch): res = _estimate_mu_sigma_3d(cube[ch], angs, ncomp, annulus_width, aperture_radius, fwhm[ch], r_guess,