|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 |
|
3 | | -__version__ = "2.1.12" |
| 3 | +__version__ = "2.2.0" |
4 | 4 |
|
5 | 5 |
|
6 | 6 | try: |
|
15 | 15 |
|
16 | 16 |
|
17 | 17 | # fundamental modules |
18 | | -from . import errors, tools, check |
| 18 | +from . import errors, tools, check, modes |
19 | 19 |
|
20 | 20 |
|
21 | 21 | # "base" module |
|
29 | 29 |
|
30 | 30 |
|
31 | 31 | # toolboxes |
32 | | -from . import connect, initialize, optimizers, measure, losses, datasets, inputs |
| 32 | +from . import (connect, # synaptic connection |
| 33 | + initialize, # weight initialization |
| 34 | + optimizers, # gradient descent optimizers |
| 35 | + losses, # loss functions |
| 36 | + measure, # methods for data analysis |
| 37 | + datasets, # methods for generating data |
| 38 | + inputs, # methods for generating input currents |
| 39 | + algorithms, # online or offline training algorithms |
| 40 | + ) |
33 | 41 |
|
34 | 42 |
|
35 | 43 | # numerical integrators |
|
45 | 53 |
|
46 | 54 | # dynamics simulation |
47 | 55 | from . import dyn |
| 56 | +from .dyn import (channels, # channel models |
| 57 | + layers, # ANN layers |
| 58 | + networks, # network models |
| 59 | + neurons, # neuron groups |
| 60 | + rates, # rate models |
| 61 | + synapses, # synaptic dynamics |
| 62 | + synouts, # synaptic output |
| 63 | + synplast, # synaptic plasticity |
| 64 | + ) |
| 65 | +from .dyn.runners import * |
48 | 66 |
|
49 | 67 |
|
50 | | -# neural networks modeling |
51 | | -from . import nn |
52 | | - |
53 | | - |
54 | | -# running |
55 | | -from . import running |
| 68 | +# dynamics training |
| 69 | +from . import train |
56 | 70 |
|
57 | 71 |
|
58 | 72 | # automatic dynamics analysis |
59 | 73 | from . import analysis |
60 | 74 |
|
61 | 75 |
|
62 | | -# "visualization" module, will be removed soon |
63 | | -from .visualization import visualize |
| 76 | +# running |
| 77 | +from . import running |
64 | 78 |
|
65 | 79 |
|
66 | | -# compatible interface |
67 | | -from .compat import * # compat |
| 80 | +# "visualization" module, will be removed soon |
| 81 | +from .visualization import visualize |
68 | 82 |
|
69 | 83 |
|
70 | 84 | # convenient access |
|
0 commit comments