jaxley.channels.K#

class K(name=None)[source]#

Bases: Channel

Potassium channel based on Sterratt, Graham, Gillies & Einevoll.

The following parameters are registered in channel_params:

Name

Default

Description

Unit

K_gK

0.036

Maximal potassium conductance.

S/cm²

K_eK

-77.0

Potassium reversal potential.

mV

K_tadj

1.0

Temperature adjustment factor (Q10 scaling).

1

temperature

37.0

Absolute temperature.

°C

The following dynamic gating variables are registered in channel_states:

Name

Initial value

Description

Unit

K_n

0.2

Potassium activation gate.

1

Parameters:

name (str | None)

channel_params = None#
channel_states = None#
current_name = None#
update_states(states, params, voltage, delta_t)[source]#

Return updated HH channel state.

Parameters:
Return type:

dict[str, Array]

compute_current(states, params, voltage, delta_t)[source]#

Return current through HH channels.

Parameters:
Return type:

float

init_state(states, params, voltage, delta_t)[source]#

Initialize the state such at fixed point of gate dynamics.

Parameters:
Return type:

dict[str, float]

init_params(states, params, voltage, delta_t)[source]#

Initialize the maximal conductances given the temperature.

Parameters:
change_name(new_name)#

Change the channel name.

Parameters:

new_name (str) – The new name of the channel.

Returns:

Renamed channel, such that this function is chainable.

property name: str | None#

The name of the channel (by default, this is the class name).