jaxley.channels.Izhikevich#

class Izhikevich(name=None)[source]#

Bases: Channel

Izhikevich neuron model.

Parameters:

name (str | None)

channel_params = None#
channel_states = None#
current_name = None#
update_states(states, dt, v, params)[source]#

Reset the voltage when a spike occurs and log the spike

compute_current(states, v, params)[source]#

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

Parameters:
  • states – All states of the compartment.

  • v – Voltage of the compartment in mV.

  • params – Parameters of the channel (conductances in S/cm2).

Returns:

Current in uA/cm2.

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

Initialize states of channel.

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).