Skip to content

Commit 40187a8

Browse files
committed
merge conflicts
2 parents 6ed4b19 + 9fd679e commit 40187a8

21 files changed

+877
-403
lines changed

.github/workflows/Publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish to PyPI.org
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
pypi:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
13+
- run: python setup.py bdist_wheel
14+
- name: Publish package
15+
uses: pypa/gh-action-pypi-publish@release/v1
16+
with:
17+
password: ${{ secrets.PYPI_API_TOKEN }}
-66.6 KB
Loading
39.1 KB
Loading
133 KB
Loading

docs/quickstart/analysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
}
226226
},
227227
"source": [
228-
"In the ``Bifurcation1D`` analyzer, ``model`` refers to the modelto be analyzed (essentially the analyzer will access the derivative function in the model), ``target_vars`` denotes the target variables, ``target_pars`` denotes the changing parameters, and ``resolution`` determines the resolutioin of the analysis."
228+
"In the ``Bifurcation1D`` analyzer, ``model`` refers to the model to be analyzed (essentially the analyzer will access the derivative function in the model), ``target_vars`` denotes the target variables, ``target_pars`` denotes the changing parameters, and ``resolution`` determines the resolutioin of the analysis."
229229
]
230230
},
231231
{

docs/quickstart/installation.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,12 @@ Alternatively, you can download the preferred release ".whl" file for jaxlib, an
118118
pip install jax
119119
120120
121-
.. warning::
122-
For m1 macOS users, you should run your python environment on ``Apple`` silicon instead of ``intel``
123-
silicon since ``rosetta2`` cannot translate ``jaxlib``. One suggestion is uninstall miniconda3 and install
124-
miniforge3 for managing your python environment.
125-
126121
Windows
127122
^^^^^^^
128123

129124
For **Windows** users, JAX can be installed by the following methods:
130125

131-
- **Method 1**: There are several community supported Windows build for jax, please refer
126+
- **Method 1**: There are several communities support JAX for Windows, please refer
132127
to the github link for more details: https://github.com/cloudhan/jax-windows-builder .
133128
Simply speaking, the provided binary releases of JAX for Windows
134129
are available at https://whls.blob.core.windows.net/unstable/index.html .

docs/quickstart/simulation.ipynb

Lines changed: 22 additions & 29 deletions
Large diffs are not rendered by default.

docs/quickstart/training.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"source": [
36-
"In recent years, we saw the revolution that training a dynamical system from data or tasks has provided important insights to understand brain functions. To support this, BrainPy porvides various interfaces to help users train dynamical systems. "
36+
"In recent years, we saw the revolution that training a dynamical system from data or tasks has provided important insights to understand brain functions. To support this, BrainPy provides various interfaces to help users train dynamical systems."
3737
]
3838
},
3939
{
@@ -743,7 +743,7 @@
743743
}
744744
},
745745
"source": [
746-
"Here, we demonstrate how to train an artificial recurrent neural network by using a white noise integration task. In this task, we want our trained RNN model has the ability to integrate white noise. For example, if we has a time series of noise data, "
746+
"Here, we demonstrate how to train an artificial recurrent neural network by using a white noise integration task. In this task, we want our trained RNN model has the ability to integrate white noise. For example, if we have a time series of noise data,"
747747
]
748748
},
749749
{

docs/tutorial_analysis/decision_making_model.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"source": [
36-
"In this section, we are going to use the [low-dimensional analyzers](./lowdim_analysis.ipynb) to make phase plane and bifurcation analysis for the decision making model proposed by (Wong & Wang) [1]. "
36+
"In this section, we are going to use the [low-dimensional analyzers](./lowdim_analysis.ipynb) to make phase plane and bifurcation analysis for the decision-making model proposed by (Wong & Wang) [1]."
3737
]
3838
},
3939
{
@@ -203,7 +203,7 @@
203203
}
204204
},
205205
"source": [
206-
"The advantage of the reduced model is that we can understand what dynamical behaviors the model generate for a particular parmeter set using phase-plane analysis and the explore how this behavior changed when the model parameters are variaed (bifurcation analysis). \n",
206+
"The advantage of the reduced model is that we can understand what dynamical behaviors the model generate for a particular parmeter set using phase-plane analysis and the explore how this behavior changed when the model parameters are varied (bifurcation analysis).\n",
207207
"\n",
208208
"To this end, we will use ``brainpy.analysis`` module. "
209209
]
@@ -517,7 +517,7 @@
517517
}
518518
},
519519
"source": [
520-
"To see how the ohase portrait of the system changed when we chang the stimulus current, we will generate a bifucation diagram for the reduced model. On the bifurcation diagram the fixed points of the model are shown as a function of a changing parameter. \n",
520+
"To see how the phase portrait of the system changed when we chang the stimulus current, we will generate a bifurcation diagram for the reduced model. On the bifurcation diagram the fixed points of the model are shown as a function of a changing parameter.\n",
521521
"\n",
522522
"In the next, we generate bifurcation diagrams with the different parameters. "
523523
]

docs/tutorial_analysis/highdim_analysis.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
},
208208
"source": [
209-
"``brainpy.analysis.SlowPointFinder`` is aimed to find slow/fixed points of high-dimensional systems. Of course, it can optimize to find fixed points of low-dimensional systems. We take the 2D decision making system as an example. "
209+
"``brainpy.analysis.SlowPointFinder`` is aimed to find slow/fixed points of high-dimensional systems. Of course, it can optimize to find fixed points of low-dimensional systems. We take the 2D decision-making system as an example."
210210
]
211211
},
212212
{
@@ -515,7 +515,7 @@
515515
{
516516
"cell_type": "markdown",
517517
"source": [
518-
"The following code demonstrates how to use ``SlowPointFinder`` to find fixed points of a continous-attractor neural network."
518+
"The following code demonstrates how to use ``SlowPointFinder`` to find fixed points of a continuous attractor neural network."
519519
],
520520
"metadata": {
521521
"collapsed": false,
@@ -569,7 +569,7 @@
569569
{
570570
"cell_type": "markdown",
571571
"source": [
572-
"The found fixed points are a series of attractor. We can visualized this line of attractors on a 2D space."
572+
"The found fixed points are a series of attractor. We can visualize this line of attractors on a 2D space."
573573
],
574574
"metadata": {
575575
"collapsed": false,

0 commit comments

Comments
 (0)