From 4fb1d4088d8b569d01b397c84b97928bfed17937 Mon Sep 17 00:00:00 2001 From: VChristiaens Date: Tue, 26 Apr 2022 15:21:41 +0200 Subject: [PATCH] Made plsc argument optional in firstguess --- vip_hci/fm/negfc_simplex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vip_hci/fm/negfc_simplex.py b/vip_hci/fm/negfc_simplex.py index 6b78255e..73aa2267 100644 --- a/vip_hci/fm/negfc_simplex.py +++ b/vip_hci/fm/negfc_simplex.py @@ -286,7 +286,7 @@ def firstguess_simplex(p, cube, angs, psf, plsc, ncomp, fwhm, annulus_width, return solu -def firstguess(cube, angs, psfn, ncomp, plsc, planets_xy_coord, fwhm=4, +def firstguess(cube, angs, psfn, ncomp, planets_xy_coord, plsc=0.1, fwhm=4, annulus_width=4, aperture_radius=1, cube_ref=None, svd_mode='lapack', scaling=None, fmerit='sum', imlib='vip-fft', interpolation='lanczos4', collapse='median', algo=pca_annulus, @@ -321,10 +321,10 @@ def firstguess(cube, angs, psfn, ncomp, plsc, planets_xy_coord, fwhm=4, PSF 2d-array. ncomp: int The number of principal components. - plsc: float - The platescale, in arcsec per pixel. planets_xy_coord: array or list The list of (x,y) positions of the planets. + plsc: float, optional + The platescale, in arcsec per pixel. fwhm : float, optional The FHWM in pixels. annulus_width: int, optional