Julie-Fabre / bombcell

Automated quality control, curation and neuron classification of spike-sorted electrophysiology data
GNU General Public License v3.0
123 stars 30 forks source link

more robust way of computing spatial decay slope #94

Closed Julie-Fabre closed 5 months ago

Julie-Fabre commented 5 months ago

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);