From 176276b43941961a036e4a19cfc1997731300938 Mon Sep 17 00:00:00 2001 From: Joris Vincent Date: Mon, 20 Feb 2023 10:10:25 +0100 Subject: [PATCH] Minor bugfix --- stimuli/components/circulars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stimuli/components/circulars.py b/stimuli/components/circulars.py index a64a1260..7deb54c2 100644 --- a/stimuli/components/circulars.py +++ b/stimuli/components/circulars.py @@ -512,7 +512,7 @@ def bessel( stim = { "img": img, - "ring_mask": np.zeros(shape).astype(int), + "ring_mask": np.zeros(base["shape"]).astype(int), "visual_size": base["visual_size"], "ppd": base["ppd"], "shape": base["shape"],