Skip to content

Commit 8060516

Browse files
authored
update brainpy.dyn doc (#199)
update brainpy.dyn doc
2 parents e4e1326 + 5f43ed3 commit 8060516

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs/apis/dyn.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
auto/dyn/channels
1313
auto/dyn/neurons
1414
auto/dyn/synapses
15+
auto/dyn/rates
1516
auto/dyn/runners

docs/auto_generater.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ def generate_dyn_docs(path='apis/auto/dyn/'):
247247
('biological_models', 'Biological Models'),
248248
('fractional_models', 'Fractional-order Models'),
249249
('input_models', 'Input Models'),
250-
('noise_models', 'Noise Models'),
251-
('rate_models', 'Rate Models'),
252250
('reduced_models', 'Reduced Models'),
253251
]
254252
write_submodules(module_name='brainpy.dyn.neurons',
@@ -260,7 +258,6 @@ def generate_dyn_docs(path='apis/auto/dyn/'):
260258
module_and_name = [
261259
('biological_models', 'Biological Models'),
262260
('abstract_models', 'Abstract Models'),
263-
('delay_coupling', 'Delay Coupling Models'),
264261
('learning_rules', 'Learning Rule Models'),
265262
]
266263
write_submodules(module_name='brainpy.dyn.synapses',
@@ -269,6 +266,17 @@ def generate_dyn_docs(path='apis/auto/dyn/'):
269266
submodule_names=[a[0] for a in module_and_name],
270267
section_names=[a[1] for a in module_and_name])
271268

269+
module_and_name = [
270+
('populations', 'Population Models'),
271+
('couplings', 'Coupling Models'),
272+
('noises', 'Noise Models'),
273+
]
274+
write_submodules(module_name='brainpy.dyn.rates',
275+
filename=os.path.join(path, 'rates.rst'),
276+
header='Rate Models',
277+
submodule_names=[a[0] for a in module_and_name],
278+
section_names=[a[1] for a in module_and_name])
279+
272280
write_module(module_name='brainpy.dyn.runners',
273281
filename=os.path.join(path, 'runners.rst'),
274282
header='Runners')

0 commit comments

Comments
 (0)