From 2e951d6679bc3872ce6e0d8a5a59a6e7a914b099 Mon Sep 17 00:00:00 2001 From: Albert Dominguez Mantes <31998088+AlbertDominguez@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:40:44 +0200 Subject: [PATCH] Rename some vars for clarity --- spotiflow/utils/fitting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spotiflow/utils/fitting.py b/spotiflow/utils/fitting.py index 667a308..d8982a8 100644 --- a/spotiflow/utils/fitting.py +++ b/spotiflow/utils/fitting.py @@ -99,13 +99,13 @@ def estimate_params( for p in tqdm(centers, desc="Estimating FWHM of spots") ) else: - _partial_estimate_single_sigma = partial( + _partial_estimate_params_single = partial( _estimate_params_single, image=img, window=window ) with ProcessPoolExecutor(max_workers=max_workers) as executor: params = tuple( tqdm( - executor.map(_partial_estimate_single_sigma, centers), + executor.map(_partial_estimate_params_single, centers), total=len(centers), desc="Estimating FWHM of spots", ) @@ -118,4 +118,4 @@ def estimate_params( for k in keys)) return params - \ No newline at end of file +