Skip to Content

The tvbo Python package

Every experiment you build on the platform runs on the open-source tvbo package. Use it to run experiments and script parameter sweeps in Python.

Full API documentation

The complete reference and tutorials are at virtual-twin.github.io/tvbo. This page is a quick start.

pip install tvbo

Run an experiment you exported from the Experiment Builder:

from tvbo import SimulationExperiment

experiment = SimulationExperiment.from_file("demo_experiment.yaml")
result = experiment.run()
result.plot()

Phase portrait of the local model

Want to pull experiments and models straight from the platform (public ones, or your own private and shared work with an API key) and push new ones back? See Retrieve & store via the API.

Watch: from model to a Python run