biophysics_fitting
❭ ephys
❭ AHP_depth_abs
AHP_depth_abs¶
-
biophysics_fitting.ephys.AHP_depth_abs(t, v, thresh=
None
)¶ Calculates the absolute afterhyperpolarization (AHP) depth for a given voltage trace.
- Parameters:¶
t (numpy.ndarray) – Array of time values.
v (numpy.ndarray) – Array of voltage values.
thresh (float, optional) – Threshold voltage for action potential detection. Defaults to None.
- Returns:¶
Array of AHP depths, one for each action potential in the voltage trace.
- Return type:¶
numpy.ndarray