From 7c8c37d61cb18a497a4bf65705e90ed5583d8fb2 Mon Sep 17 00:00:00 2001 From: JB-Billand Date: Wed, 18 Dec 2024 10:55:21 +0100 Subject: [PATCH] Update argument in PSF.py Argument 'iteration' updated to 'num_iter' in restoration.richardson_lucy() function --- autoprof/pipeline_steps/PSF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoprof/pipeline_steps/PSF.py b/autoprof/pipeline_steps/PSF.py index 0dc0cc62..c7e62205 100644 --- a/autoprof/pipeline_steps/PSF.py +++ b/autoprof/pipeline_steps/PSF.py @@ -470,7 +470,7 @@ def PSF_deconvolve(IMG, results, options): dat_deconv = restoration.richardson_lucy( (IMG - dmin) / (dmax - dmin) - 0.5, psf_img, - iterations=( + num_iter=( options["ap_psf_deconvolution_iterations"] if "ap_psf_deconvolution_iterations" in options else 50