template values are optionally (if param.normalizeSpDecay is set to 1)normalized relative to the peak value, making the spatial decay slope calculation more robust. - thanks @cbimbo for the suggestion
For previously calculated values, simply divide qMetric.spatialDecaySlope./max(forGUI.spatialDecayPoints(:, :), [], 2);
template values are optionally (if
param.normalizeSpDecay
is set to1
)normalized relative to the peak value, making the spatial decay slope calculation more robust. - thanks @cbimbo for the suggestionFor previously calculated values, simply divide
qMetric.spatialDecaySlope./max(forGUI.spatialDecayPoints(:, :), [], 2);