Changes in membrane currents and input components before spike generation. The inactivation variable, h (A), and IKLT activation variable, m, (B) reached their minimal values when membrane potential started to depolarize for spike generation. For the synaptic input with excitation and inhibition with equal mean conductances, the hypepolarizing dip was mostly generated by the reduction of excitatory component (C). D: when inhibition was strengthened several times, it also participated in shaping the dip and the spike-generating current.