Skip to content

Commit

Permalink
Rename some vars for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDominguez authored Oct 18, 2024
1 parent 4c0ffee commit 2e951d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spotiflow/utils/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand All @@ -118,4 +118,4 @@ def estimate_params(
for k in keys))
return params



0 comments on commit 2e951d6

Please sign in to comment.