simrunsynaptic_strength_fittingget_tMax_vMax

get_tMax_vMax

simrun.synaptic_strength_fitting.get_tMax_vMax(t, v, tStim=None, tEnd=None)

Calculate the maximum amplitude of an ePSP.

Parameters:
  • t (np.array) – Timepoints of the voltage trace.

  • v (np.array) – Voltage trace.

  • tStim (float) – Timepoint of synapse activation.

  • tEnd (float) – End time of the simulation.

Returns:

Timepoint and amplitude of the maximum voltage deflection of an ePSP.

Return type:

tuple