From 2968439b33eb443fa0fe1e1a76ae6fe12d12b9fe Mon Sep 17 00:00:00 2001 From: Julie-Fabre Date: Tue, 22 Oct 2024 16:12:55 +0100 Subject: [PATCH] spatial decay size adjust --- +bc/+qm/+helpers/getSpatialDecay.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/+bc/+qm/+helpers/getSpatialDecay.m b/+bc/+qm/+helpers/getSpatialDecay.m index fc2069a..d98e60f 100644 --- a/+bc/+qm/+helpers/getSpatialDecay.m +++ b/+bc/+qm/+helpers/getSpatialDecay.m @@ -31,6 +31,8 @@ if numel(channels_withSameX) < MIN_CHANNELS_FOR_FIT warning('Insufficient channels with similar X position for fitting.'); + spatialDecayPoints_loc = nan(NUM_CHANNELS_FOR_FIT,1); + spatialDecayPoints = nan(1, NUM_CHANNELS_FOR_FIT); return; end