jaxley.channels.Izhikevich#

class Izhikevich(name=None)[source]#

Bases: Channel

Izhikevich neuron model.

The following parameters are registered in channel_params:

Name

Default

Description

Unit

a

0.02

Time scale of the recovery variable u.

1/ms

b

0.2

Sensitivity of the recovery variable u to the membrane potential v.

1/ms

c

-65.0

After-spike reset value of the membrane potential v.

mV

d

8

After-spike increment of the recovery variable u.

mV/ms

The following states are registered in channel_states:

Name

Default

Description

Unit

u

0.02

Recovery variable.

mV/ms

Parameters:

name (str | None)

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

Reset the voltage when a spike occurs and log the spike

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

Given channel states and voltage, return the current through the channel.

Parameters:
  • states (dict[str, Array]) – All states of the compartment.

  • params (dict[str, Array]) – Parameters of the channel (conductances in S/cm2).

  • voltage (Array) – Voltage of the compartment in mV.

  • delta_t (float) – The time step in ms.

Returns:

Current in uA/cm2.

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

Initialize states of channel.

Parameters:
  • states (dict[str, Array]) – All states of the compartment.

  • params (dict[str, Array]) – Parameters of the channel (conductances in S/cm2).

  • voltage (Array) – Voltage of the compartment in mV.

  • delta_t (float) – The time step in ms.

Returns:

A initial state that is written into module.nodes when the user runs module.init_states().

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.

init_params(states, params, voltage, delta_t)#

Initialize the maximal conductances given the temperature.

Parameters:
  • states (dict[str, Array]) – All states of the compartment.

  • params (dict[str, Array]) – Parameters of the channel (conductances in S/cm2).

  • voltage (Array) – Voltage of the compartment in mV.

  • delta_t (float) – The time step in ms.

Returns:

Initial parameters that are written into module.nodes when the user runs module.init_params().

Return type:

dict[str, Array]

property name: str | None#

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