TITLE Ohmic K Current

: Implemented in Rubin and Cleland (2006) J Neurophysiology

NEURON {
	SUFFIX kO
	USEION O READ eO WRITE iO VALENCE 1
	RANGE gkbar, iO, eO
}

UNITS {
	(mA) = (milliamp)
	(mV) = (millivolt)
}

INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}

PARAMETER {
	v (mV)
	dt (ms)
	gkbar = 0 (mho/cm2)
	eO = -90 (mV)
}

ASSIGNED {
	iO (mA/cm2)
}

BREAKPOINT {
	iO = gkbar*(v - eO)
}