File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ class AMPA(Synapse):
122122 $$
123123
124124 where:
125+
125126 - $g$ represents the fraction of receptors in the open state
126127 - $\alpha$ is the binding rate constant [ms^-1 mM^-1]
127128 - $\beta$ is the unbinding rate constant [ms^-1]
Original file line number Diff line number Diff line change @@ -247,22 +247,22 @@ class AsymmetryGapJunction(Projection):
247247
248248 Examples
249249 --------
250- >>> import brainstate
250+ >>> import brainpy
251251 >>> import brainunit as u
252252 >>> import numpy as np
253253 >>>
254254 >>> # Create two neuron populations
255255 >>> n_neurons = 100
256- >>> pre_pop = brainstate.nn .LIF(n_neurons, V_rest=-70*u.mV, V_threshold=-50*u.mV)
257- >>> post_pop = brainstate.nn .LIF(n_neurons, V_rest=-70*u.mV, V_threshold=-50*u.mV)
256+ >>> pre_pop = brainpy .LIF(n_neurons, V_rest=-70*u.mV, V_threshold=-50*u.mV)
257+ >>> post_pop = brainpy .LIF(n_neurons, V_rest=-70*u.mV, V_threshold=-50*u.mV)
258258 >>> pre_pop.init_state()
259259 >>> post_pop.init_state()
260260 >>>
261261 >>> # Create asymmetric gap junction with different weights in each direction
262262 >>> weights = np.ones((n_neurons, 2)) * u.nS
263263 >>> weights[:, 0] *= 2.0 # Double weight in pre->post direction
264264 >>>
265- >>> gap_junction = brainstate.nn .AsymmetryGapJunction(
265+ >>> gap_junction = brainpy .AsymmetryGapJunction(
266266 ... pre=pre_pop,
267267 ... pre_state='V',
268268 ... post=post_pop,
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+
4+ ## Version 3.0.0
5+
6+
7+
You can’t perform that action at this time.
0 commit comments