single_cell_parser
❭ analyze
❭ membrane_potential_analysis
❭ compute_uPSP_amplitude
compute_uPSP_amplitude¶
-
single_cell_parser.analyze.membrane_potential_analysis.compute_uPSP_amplitude(t, v, tSyn, isEPSP=
True
, t_width_baseline=10.0
)¶ Compute the amplitude of a uPSP.
Simple method for determining amplitude of a unitary post-synaptic potential (uPSP)
- Parameters:¶
t (list) – Time vector
v (list) – Membrane potential vector
tSyn (float) – Timepoint of synaptic activation.
isEPSP (bool) – If True, the uPSP is an excitatory post-synaptic potential (EPSP). If False, the uPSP is an inhibitory post-synaptic potential (IPSP). Default is
True
.t_width_baseline (float) – Width of the time window to calculate the baseline membrane voltage. Default is \(10.0 ms\).
- Returns:¶
Amplitude of the uPSP.
- Return type:¶
float