biophysics_fittingephysBAC_caSpike_height_check_1_Ca_AP

BAC_caSpike_height_check_1_Ca_AP

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

Checks if there is exactly one calcium spike in the dendritic voltage trace.

Parameters:
  • t (array) – Time array.

  • v (array) – Somatic voltage array.

  • v_dend (array) – Dendritic voltage array.

  • thresh (float, optional) – Spike detection threshold. Defaults to None.

Returns:

True if there is exactly one calcium spike in the dendritic voltage trace, False otherwise.

Return type:

bool