Overview
If you are new to dynlib, make sure to check the main page for the fundamentals.
Requirements
- A working Python environment (3.10+ is recommended).
- A virtual environment (virtualenv) or a similar isolation layer for installation, although it is not mandatory.
- The NumPy package for numerical computations (
python -m pip install numpy). - The Matplotlib package for plotting (
python -m pip install matplotlib). - The package itself (
python -m pip install dynlib). For installation details, see the Quickstart guide.
Numba is strongly recommended for high-performance simulation and analysis (python -m pip install numba).
How to use this section
- Follow the Quickstart guide to install dynlib, verify the CLI (
dynlib --version,dynlib model validate, etc.), and run one of the built-in models from Python. - Move on to Your First Model to write a TOML model, validate it (
dynlib model validate first-model.toml), and experiment with inline text definitions. - When you need to work with steppers, recorders, and other DSL features, explore the Modeling guide and the Simulation guide.
- To use simulation outputs and create plots, see the Simulation Results and Plotting guides.
- For end-to-end workflows—from bifurcation diagrams to neuron models—check the Examples and the Analysis guide sections.