Channel#
- class braincell.Channel(size, name=None)#
The base class for modeling channel dynamics in neuronal simulations.
This class extends the IonChannel class to provide a framework for implementing specific ion channel models. It serves as a foundation for creating various types of ion channels, such as voltage-gated or ligand-gated channels.
Note
Subclasses of Channel should implement specific methods like current, compute_derivative, etc., to define the behavior of the particular channel type.
Example:
.. code-block:: python