File Exchange

image thumbnail

Parametrize Calcium Signals

version 1.1.1 (744 KB) by Laurent MacKay
Characterize transient calcium signals


Updated 13 Nov 2020

View Version History

View License

Automated characteriztion of single and multi-peaked transient calcium responses from time series data. Signals are decomposed into drift and response components and the entirety of the signal is reconstructed using a mathematical model of a transient response and drift. Measures time of onset, activation time (10% to 90% of total amplitude),amplitude of response, full width at half maximum, decay time constant. For oscillatory multipeaked responses the algorithm attempts to separate coherent oscillations from completely stochastic ones and for the full set oscillations as well as the coherent subset reports the number of oscillations, period of oscillation (averaged), standard deviation of the period, magnitude (averaged), full width half maximum (averaged), duty cycle (averaged), and the length of oscillatory persistence.
Signals can be stored in an excel sheet, and the whole document can be processed with the command:

Cite As

Laurent MacKay (2021). Parametrize Calcium Signals (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Brandon Harris

HI Laurent,

I padded the example signal with the initial and final signals, trying at most 8 seconds each end. Same error of not enough drift. If it helps, I'm using Windows 10 64-bit OS with Matlab 2016a.


Laurent MacKay

Hi Brandon,

I am currently working to overhaul the software. Thank you for mentioning this error, I will see if I can reproduce it, but what I can suggest is to pad your signal with some constant values at the beginning and end then rerun the code and see if the same thing happens.


Brandon Harris

This sounds like a great program, however, I am unable to get the example data to run properly. During parameter characterization, I am receiving the display "not enough drift." While I know that this is being prompted from line 371 of the parameterCharacterization.m file, I am unsure of how to resolve it.

Michael Roper

I really like the idea behind this program as I don't think there are other automated analysis programs that can provide as much information as this one can. I've gotten it to work for their example that they provide, but incorporating my own files has proven more difficult. I give it 3 stars for the potential and ability but knock it for the lack of clear documentation. If the documentation improves, I'll update my score.

Michael Roper

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!