BAC_caSpike_width

biophysics_fitting.ephys.BAC_caSpike_width(t, v, v_dend, thresh=None)

Calculates the width of a calcium spike action potential.

Parameters:
t : array-like

The time values of the action potential.

v : array-like

The voltage values of the action potential.

v_dend : array-like

The voltage values of the dendrite.

thresh : float, optional

The threshold voltage for the action potential.

Returns:

The width of the calcium spike action potential.

Return type:

float