Skip to main content

Python tool for parameter continuation and bifurcation analysis

Project description

PyCoBi

License Python PyPI version CircleCI

PyCoBi is a Python tool for parameter continuations and automated bifurcation analysis. It provides a Python interface to Auto-07p [1], allowing for a more intuitive usage of Auto-07p commands within Python scripts. It provides direct access to solutions, branches, and their properties (i.e. special solutions, eigenvalues, etc.) as well as a range of plotting functions to visualize bifurcation diagrams and solutions. Finally, it allows to automatically generate the user-supplied Fortran routines via PyRates, such that Auto-07p can be fully used/controlled from within a single Python script, without the need to supply additional non-Python files.

Use Example: Use examples will be provided here soon. For now, have a look at the this example which demonstrates how to create the required Fortran files for Auto-07p via PyRates and use them to run a 1D parameter continuation and bifurcation detection via PyCoBi.

Installation

To use PyCoBi, it is required to install Auto-07p. You can follow these installation instructions for detailed information on how to install Auto-07p in your specific setup. Note that it is not required to manually set any path variables, since PyAuto will take care of that for you.
A typical installation procedure would be the following:

Step 1: Clone the Auto-07p github repository:

git clone https://github.com/auto-07p/auto-07p

Step 2: Configure the installation scripts

Go to the directory that you cloned the Auto-07p repository into and call

./configure

Step 3: Install Auto-07p

In the same directory, call

make

Step 4: Install the Python version of Auto-07p

After that, in the same directory, execute the following call from within the Python environment that you would like to use for PyAuto

python setup.py install

Step 5: Install PyCoBi

Use pip to install the latest stable version of PyCoBi

pip install pycobi

Alternatively, the development version of PyCoBi can be installed by cloning the github repository and using the setup.py for installation (see steps 1 and 4).

References

[1] E.J. Doedel, T.F. Fairgrieve, B. Sandstede, A.R. Champneys, Y.A. Kuznetsov and W. Xianjun (2007) Auto-07p: Continuation and bifurcation software for ordinary differential equations. Technical report, Department of Computer Science, Concordia University, Montreal, Quebec.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycobi-0.6.3.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

pycobi-0.6.3-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file pycobi-0.6.3.tar.gz.

File metadata

  • Download URL: pycobi-0.6.3.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pycobi-0.6.3.tar.gz
Algorithm Hash digest
SHA256 03ee9e3f61a0c3f40ab5f0c64e803899089741d562021962092b701c981e185a
MD5 8edbce05e3a49134a37c15ed304da886
BLAKE2b-256 a57716445692b775633d37db8181473153d889901c9a0ad7c0d762ac671db65c

See more details on using hashes here.

File details

Details for the file pycobi-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: pycobi-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pycobi-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8e6c1873f4ff463bb1bc8ace7f41b986eceecd2be094584fe5a9676914b353c
MD5 e3c4d6a44259ba5e6dc44286a58b6c6e
BLAKE2b-256 f7f4727f1487979b5d5c571c51c85c5fa40779c5c8aed954fd0cc6b7859d9bb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page