jaxley.pumps.CaNernstReversal#

class CaNernstReversal(name=None)[source]#

Bases: Pump

Compute Calcium reversal from inner and outer concentration of calcium.

Parameters:

name (str | None)

channel_params = None#
channel_states = None#
current_name = None#
update_states(u, dt, voltages, params)[source]#

Update internal calcium concentration based on calcium current and decay.

compute_current(u, voltages, params)[source]#

This dynamics model does not directly contribute to the membrane current.

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

Initialize the state at fixed point of gate dynamics.

change_name(new_name)#

Change the pump name.

Parameters:

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

Returns:

Renamed pump, such that this function is chainable.

property name: str | None#

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