jaxley.channels.Channel#
- class Channel(name=None)[source]#
Bases:
objectChannel base class. All channels inherit from this class.
A channel in Jaxley is everything that modifies the membrane voltage via its current returned by the compute_current() method.
As in NEURON, a Channel is considered a distributed process, which means that its conductances are to be specified in S/cm2 and its currents are to be specified in uA/cm2.
- Parameters:
name (str | None)
- channel_params = None#
- channel_states = None#
- current_name = None#
- change_name(new_name)[source]#
Change the channel name.
- Parameters:
new_name (str) – The new name of the channel.
- Returns:
Renamed channel, such that this function is chainable.
- compute_current(states, v, params)[source]#
Given channel states and voltage, return the current through the channel.