From c8321e90d1f9d2ec098317fa2185daf2c0f39c06 Mon Sep 17 00:00:00 2001 From: Cristian Goina Date: Mon, 5 Jan 2026 12:30:53 -0500 Subject: [PATCH] replaced np.product with np.prod --- fishspot/psf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fishspot/psf.py b/fishspot/psf.py index f56caba..05390b9 100644 --- a/fishspot/psf.py +++ b/fishspot/psf.py @@ -12,7 +12,7 @@ def get_context(spot, image, radius): p[1]-r:p[1]+r+1, p[2]-r:p[2]+r+1 ] - if np.product(w.shape) != (2*r+1)**3: + if np.prod(w.shape) != (2*r+1)**3: return None return w.flatten()