jaxley.channels.Rate#
- class Rate(name=None)[source]#
Bases:
ChannelRate-based, unit-less, neuron model.
The following parameters are registered in
channel_params:Name
Default
Description
Unit
tau1
Time constant of the neuron (unitless).
1
The channel has no internal states.
- Parameters:
name (str | None)
- channel_params = None#
- channel_states = None#
- current_name = None#
- compute_current(states, params, voltage, delta_t)[source]#
Given channel states and voltage, return the current through the channel.
- init_state(states, params, voltage, delta_t)[source]#
Initialize states of channel.
- Parameters:
- Returns:
A initial state that is written into
module.nodeswhen the user runsmodule.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:
- Returns:
Initial parameters that are written into
module.nodeswhen the user runsmodule.init_params().- Return type: