spike_times(trace,threshold1)
This function detects and locates the time points of action potentials in a trace of membrane potential as a function of time in a neuron. The trace should represent a current clamp recording from a neuron.
Input:
"trace" is the membrane voltage array of the neuron "threshold" is the factor times the maximum membrane potential (peak of spike) This "threshold" is the value for which the action potentials have to cross to be detected.
Output:
The output array is the index location of spikes.
Rune W. Berg 2006
rune@berg-lab.net www.berg-lab.net
Citation pour cette source
Rune W Berg (2024). spike_times(trace,threshold1) (https://www.mathworks.com/matlabcentral/fileexchange/27600-spike_times-trace-threshold1), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : spike_remove, APanalysis
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | Changed the threshold detection input. |
||
1.1.0.0 | Added default value. |
||
1.0.0.0 |