biophysics_fittingephysBPAPatt_check_relative_height

BPAPatt_check_relative_height

biophysics_fitting.ephys.BPAPatt_check_relative_height(t, v_soma, v_dend, bAP_thresh=None, stim_onset=None)

Computes the ratio of the backpropagating action potential (bAP) amplitude at the soma and dendrite and returns True if the ratio is greater than 1, False otherwise.

Parameters:
  • t (numpy.ndarray) – Array of time points.

  • v_soma (numpy.ndarray) – Array of voltage values at the soma.

  • v_dend (numpy.ndarray) – Array of voltage values at the dendrite.

  • bAP_thresh (float, optional) – Threshold for detecting bAPs. Defaults to None.

  • stim_onset (float, optional) – Time point of the stimulus onset. Defaults to None.

Returns:

True if the ratio of bAP amplitude at soma and dendrite is greater than 1, False otherwise.

Return type:

bool