From 461f5932d1821321c43740457e04d56c4e987659 Mon Sep 17 00:00:00 2001 From: Joris Vincent Date: Tue, 21 Mar 2023 16:33:17 +0100 Subject: [PATCH] Bugfix: key `target_mask` in `waves._linear` --- stimupy/waves.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stimupy/waves.py b/stimupy/waves.py index 38273b25..a2420261 100644 --- a/stimupy/waves.py +++ b/stimupy/waves.py @@ -130,7 +130,7 @@ def sine_linear( stim["grating_mask"] == (bar_idx + 1), target_idx + 1, targets_mask ) targets_mask = targets_mask.astype(int) - stim["targets_mask"] = targets_mask + stim["target_mask"] = targets_mask # Place target(s) if isinstance(intensity_target, (int, float)): @@ -250,7 +250,7 @@ def square_linear( stim["grating_mask"] == (bar_idx + 1), target_idx + 1, targets_mask ) targets_mask = targets_mask.astype(int) - stim["targets_mask"] = targets_mask + stim["target_mask"] = targets_mask # Place target(s) if isinstance(intensity_target, (int, float)):