biophysics_fittingephysBPAPatt

BPAPatt

biophysics_fitting.ephys.BPAPatt(t, v_dend, thresh='+2mV', stim_onset=None)

Computes the amplitude of the backpropagating action potential (bAP) at the dendrite.

Parameters:
  • t (array) – Time array.

  • v_dend (array) – Dendritic voltage array.

  • thresh (str or float) – Threshold voltage for detecting the bAP. Default is ‘+2mV’.

  • stim_onset (float) – Time of the stimulus onset. Default is None.

Returns:

Amplitude of the bAP at the dendrite.

Return type:

float