Skip to content

Commit

Permalink
[doc] add conductance neuron model tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Dec 12, 2023
1 parent 40f6c58 commit 216483a
Show file tree
Hide file tree
Showing 5 changed files with 1,125 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ We provide a Binder environment for BrainPy. You can use the following button to
- **[brainpy-datasets](https://github.com/brainpy/datasets)**: Neuromorphic and Cognitive Datasets for Brain Dynamics Modeling.
- [《神经计算建模实战》 (Neural Modeling in Action)](https://github.com/c-xy17/NeuralModeling)
- [第一届神经计算建模与编程培训班 (First Training Course on Neural Modeling and Programming)](https://github.com/brainpy/1st-neural-modeling-and-programming-course)
- [第二届神经计算建模与编程培训班 (Second Training Course on Neural Modeling and Programming)](https://github.com/brainpy/2st-neural-modeling-and-programming-course)
- [第二届神经计算建模与编程培训班 (Second Training Course on Neural Modeling and Programming)](https://github.com/brainpy/2nd-neural-modeling-and-programming-course)


## Citing
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ If you want to install a CPU-only version of `jax` and `jaxlib`, you can run
pip install --upgrade "jax[cpu]"
If you want to install JAX with both CPU and NVidia GPU support, you must first install
`CUDA`_ and `CuDNN`_, if they have not already been installed. Next, run
`CUDA`_ and `CuDNN`_, if they have already been installed. Next, run

.. code-block:: bash
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial_building/build_conductance_neurons.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"source": [
"On the other hand, simplified models do not care about the physiological features of neurons but mainly focus on how to reproduce the exact spike timing. Therefore, they are more simplified and maybe not biologically explicable.\n",
"\n",
"BrainPy provides a large volume of [predefined neuron models](../apis/brainpy.dyn.neurons.rst) including conductance-based and simplified models for ease of use. In this section, we will only talk about how to build conductance-based models by ion channels. Users please refer to [Customizing Your Neuron Models](customize_neuron_models.ipynb) for more information."
"BrainPy provides a large volume of predefined neuron models including conductance-based and simplified models for ease of use. In this section, we will only talk about how to build conductance-based models by ion channels. Users please refer to [Customizing Your Neuron Models](customize_neuron_models.ipynb) for more information."
],
"metadata": {
"collapsed": false
Expand Down Expand Up @@ -234,7 +234,7 @@
"source": [
"Here the `HH` class should inherit the superclass **`brainpy.dyn.CondNeuGroup`**, which will automatically integrate the current flows by calling the `current()` function of each channel model to compute the neuronal activity when running a simulation.\n",
"\n",
"Surprisingly, the model contruction is finished! Users do not need to implement the update function of the neuron model as `brainpy.dyn.CondNeuGroup` has its own way to update variables (like the membrane potential `V` and spiking sequence `spike`) implicitly."
"Surprisingly, the model construction is finished! Users do not need to implement the update function of the neuron model as `brainpy.dyn.CondNeuGroup` has its own way to update variables (like the membrane potential `V` and spiking sequence `spike`) implicitly."
]
},
{
Expand Down

0 comments on commit 216483a

Please sign in to comment.