APanalysis

Calculates AP amplitude and timing, half-widths, threshold voltage, and frequency of firing
1,4K Descargas
Actualizado 23 ago 2016

Ver licencia

Common analysis of action potentials includes calculating amplitudes, their timing, frequency of firing, threshold voltage, and half-widths. This scripts helps to automatize this process.
UPDATE v1.1:
Original code had some parameters hard-coded for a specific project. Version 1.1 should be usable for any project. If you find bugs, please let me know: rpopov@uvm.edu.
1) abfload.m was upgraded to 2.0 that allows to load .abf files from more recent versions of pClamp.
2) Updated frequency calculation: Now code checks the whole duration of each sweep (used to just use 2 seconds)
3) Threshold identification is now manual for better precision at a cost of slower analysis (used to be detected automatically, but was highly unreliable). Just use a cross-hair pointer to choose thresholds for each spike. Code puts a black circle on the point where you clicked. The figure with trace is forced to open in full screen mode to aid choosing the exact point of threshold.
4) Half-widths are now calculated more precisely. They are not exact due to inability to choose the time point where voltage was exactly 50% of amplitude. Instead, the closest sample is chosen. The error is measured in voltage offset of sample chosen to true 50% amplitude value, it is normalized to amplitude and exported to the Excel file.
5) Excel export includes: amplitude value in mV, the times of amplitudes in msec, action potential frequency in Hz, thresholds for each action potential in mV, the times when thresholds were breached in msec, half-widths in msec, relative errors for both sides when estimating half-width in %
6) batch_process.m is added which scans local directory for .abf files and executes APanalysis.m on all of them.
%
UPDATE v1.2:
* Re-worked spike_times.m, which was identifying multiple spikes on the same action potential.

Citar como

Roman Popov (2024). APanalysis (https://www.mathworks.com/matlabcentral/fileexchange/45667-apanalysis), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Electrophysiology en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: fcollman/abfload, spike_times(trace,threshold1)

Inspiración para: Current Clamp Analysis from WinWCP

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.2.0.0

UPDATE v1.2:
* Re-worked spike_times.m, which was identifying multiple spikes on the same action potential.

1.1.0.0

1) abfload.m was upgraded to v2.0
2) Updated frequency calculation
3) Threshold identification is now manual for better precision
4) Half-widths are now calculated more precisely.
5) Excel export updated
6) batch_process.m is added

1.0.0.0