biophysics_fitting
❭ ephys
❭ BAC_caSpike_height_check_gt2_Na_spikes
BAC_caSpike_height_check_gt2_Na_spikes¶
-
biophysics_fitting.ephys.BAC_caSpike_height_check_gt2_Na_spikes(t, v, v_dend, thresh=
None
)¶ Checks if the number of spikes in the voltage trace is greater than or equal to 2.
- Parameters:¶
t (array) – Array of time values.
v (array) – Array of voltage values.
v_dend (array) – Array of dendritic voltage values.
thresh (float, optional) – Spike detection threshold. Defaults to None.
- Returns:¶
True if the number of spikes is greater than or equal to 2, False otherwise.
- Return type:¶
bool