numcont
adapters.numcont
Self-contained AUTO-07p (numcont) backend adapter for SimulationExperiment.
This adapter does NOT depend on any external numcont package. It uses the auto-07p Python bindings directly (auto.run, auto.sv, auto.loadbd, auto.merge) and the Mako template at tvbo/templates/numcont/tvbo-auto7p.py.mako to emit the model .f90 file consumed by AUTO.
Requires the AUTO_DIR environment variable to point at an installed auto-07p tree (validated via :func:tvbo.utils.auto.check_auto_dir).
Classes
| Name | Description |
|---|---|
| NumContAdapter | Adapter for bifurcation analysis via AUTO-07p (no external deps). |
NumContAdapter
adapters.numcont.NumContAdapter(experiment)Adapter for bifurcation analysis via AUTO-07p (no external deps).
Methods
| Name | Description |
|---|---|
| cleanup | Remove the temporary working directory of a NumCont result. |
| render_code | Render the AUTO-07p Fortran (.f90) model source as a string. |
| run | Run AUTO-07p continuation for each continuation in the experiment. |
cleanup
adapters.numcont.NumContAdapter.cleanup(result)Remove the temporary working directory of a NumCont result.
render_code
adapters.numcont.NumContAdapter.render_code(
model=None,
continuation=None,
**kwargs,
)Render the AUTO-07p Fortran (.f90) model source as a string.
run
adapters.numcont.NumContAdapter.run(**kwargs)Run AUTO-07p continuation for each continuation in the experiment.