allensdk.internal.model.glif.ASGLM module

allensdk.internal.model.glif.ASGLM.ASGLM_pairwise(ks_int, I_stim, voltage, spike_ind, cinit, tauinit, SCL, dt, resting_potential, SHORT_RUN=False, MAKE_PLOT=False, SHOW_PLOT=False, BLOCK=False)[source]

Calculate the resistance and amplitude of the afterspike currents for Parameters ———-

ks_int: list
initial possible k’s (k=1/tau, where tau is the time constant of the exponential decay)
I_stim: list of arrays
input stimulus traces of sweeps
voltage: list of arrays
voltage of cell as a result of I_stim
spike_ind: list of arrays
each array contains the index of the spikes
cinit: float
membrane capacitance
tauinit: float
time constant of membrane
SCL: float
number of indicies that should be cut after a spike
dt: float
size of time step of injected current

Returns