this is a niubi lib
Project description
PyDSTool
========
|buildstatus|_ |coverage|_
*This is a beta release version.*
PyDSTool is a sophisticated & integrated simulation and analysis environment
for dynamical systems models of physical systems (ODEs, DAEs, maps, and hybrid
systems).
PyDSTool is platform independent, written primarily in Python with some
underlying C and Fortran legacy code for fast solving. It makes extensive use
of the numpy and scipy libraries. PyDSTool supports symbolic math,
optimization, phase plane analysis, continuation and bifurcation analysis, data
analysis, and other tools for modeling -- particularly for biological
applications.
The project is fully open source with a BSD license, and welcomes contributions
from the community.
See more at `pydstool.sourceforge.net <http://pydstool.sourceforge.net>`__.
--------------
Requirements
~~~~~~~~~~~~
* `Python <http://www.python.org>`__ 2.7 or 3.3+;
* `numpy <http://www.numpy.org>`__;
* `scipy <http://www.scipy.org>`__.
Dopri/Radau and AUTO interface requirements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* `swig <http://www.swig.org>`__ > 2.0;
* C compiler (e.g, gcc or clang);
* GNU Fortran compiler (Radau only).
Optional requirements
^^^^^^^^^^^^^^^^^^^^^
* `matplotlib <http://www.matplotlib.org>`__
Matplotlib is needed for plotting functionality and running many of the examples.
Recommended
^^^^^^^^^^^
* `ipython <http://www.ipython.org>`__
Installation
~~~~~~~~~~~~
Debian/Ubuntu
^^^^^^^^^^^^^
* install necessary packages:
::
sudo apt-get update
sudo apt-get install -qq gfortran swig
sudo apt-get install -qq python-numpy python-scipy python-matplotlib
* install ``PyDSTool``:
::
sudo python setup.py install
or
::
sudo python setup.py develop
Run without ``sudo`` and add flag ``--user`` to install for local
user only.
Getting started and documentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See the `online documentation <http://pydstool.sourceforge.net>`__,
particularly the GettingStarted and Tutorials pages! Please report bugs
and suggestions using the user forum linked to there.
Tests and examples
~~~~~~~~~~~~~~~~~~
Running examples
^^^^^^^^^^^^^^^^
Examples can be found in the ``examples`` directory. Some examples can
only be run once, others have produced their output, for instance
HH\_loaded.py, HH\_loaded\_dopri.py. Several of the examples require an
external compiler. An easy way to run all the examples in an appropriate
order is to run the script 'run\_all\_tests.py':
::
cd examples
python run_all_tests.py
There is a simple option in that file that you may need to edit in order
to select whether the external compiler tests should be run (in case you
do not have ``gcc`` and ``gfortran`` working on your system).
Note that on some platforms you will see an error report when the script
tries to automatically close matplotlib graph windows, to the effect of:
::
"Fatal Python error: PyEval_RestoreThread: NULL tstate"
This error can be ignored. You may also have to close the plot windows
yourself before the script can continue. This will depend on your
platform and settings.
Running test suite
^^^^^^^^^^^^^^^^^^
To run test suite, install `py.test <http://www.pytest.org>`__ and
`mock <http://www.voidspace.org.uk/python/mock/>`__, using ``pip``:
::
sudo pip install py.test mock
or package manager:
::
sudo apt-get install python-pytest python-mock
Then run:
::
python setup.py test
Getting coverage report
^^^^^^^^^^^^^^^^^^^^^^^
* install ``pytest-cov``
::
sudo pip install pytest-cov
* run ``py.test``
::
py.test --cov PyDSTool --cov-report html --cov-config .coveragerc
* open file ``htmlcov/index.html`` in your browser
Credits
~~~~~~~
Coding and design by Robert Clewley, Erik Sherwood, Drew LaMar, Vladimir
Zakharov, and John Guckenheimer, except where otherwise stated in the
code or documentation. (Several other open source codes have been
redistributed here under the compatible licenses.)
--------------
.. |buildstatus| image:: https://travis-ci.org/robclewley/pydstool.svg?branch=master
.. _buildstatus: https://travis-ci.org/robclewley/pydstool
.. |coverage| image:: https://coveralls.io/repos/robclewley/pydstool/badge.png?branch=master
.. _coverage: https://coveralls.io/r/robclewley/pydstool?branch=master
========
|buildstatus|_ |coverage|_
*This is a beta release version.*
PyDSTool is a sophisticated & integrated simulation and analysis environment
for dynamical systems models of physical systems (ODEs, DAEs, maps, and hybrid
systems).
PyDSTool is platform independent, written primarily in Python with some
underlying C and Fortran legacy code for fast solving. It makes extensive use
of the numpy and scipy libraries. PyDSTool supports symbolic math,
optimization, phase plane analysis, continuation and bifurcation analysis, data
analysis, and other tools for modeling -- particularly for biological
applications.
The project is fully open source with a BSD license, and welcomes contributions
from the community.
See more at `pydstool.sourceforge.net <http://pydstool.sourceforge.net>`__.
--------------
Requirements
~~~~~~~~~~~~
* `Python <http://www.python.org>`__ 2.7 or 3.3+;
* `numpy <http://www.numpy.org>`__;
* `scipy <http://www.scipy.org>`__.
Dopri/Radau and AUTO interface requirements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* `swig <http://www.swig.org>`__ > 2.0;
* C compiler (e.g, gcc or clang);
* GNU Fortran compiler (Radau only).
Optional requirements
^^^^^^^^^^^^^^^^^^^^^
* `matplotlib <http://www.matplotlib.org>`__
Matplotlib is needed for plotting functionality and running many of the examples.
Recommended
^^^^^^^^^^^
* `ipython <http://www.ipython.org>`__
Installation
~~~~~~~~~~~~
Debian/Ubuntu
^^^^^^^^^^^^^
* install necessary packages:
::
sudo apt-get update
sudo apt-get install -qq gfortran swig
sudo apt-get install -qq python-numpy python-scipy python-matplotlib
* install ``PyDSTool``:
::
sudo python setup.py install
or
::
sudo python setup.py develop
Run without ``sudo`` and add flag ``--user`` to install for local
user only.
Getting started and documentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See the `online documentation <http://pydstool.sourceforge.net>`__,
particularly the GettingStarted and Tutorials pages! Please report bugs
and suggestions using the user forum linked to there.
Tests and examples
~~~~~~~~~~~~~~~~~~
Running examples
^^^^^^^^^^^^^^^^
Examples can be found in the ``examples`` directory. Some examples can
only be run once, others have produced their output, for instance
HH\_loaded.py, HH\_loaded\_dopri.py. Several of the examples require an
external compiler. An easy way to run all the examples in an appropriate
order is to run the script 'run\_all\_tests.py':
::
cd examples
python run_all_tests.py
There is a simple option in that file that you may need to edit in order
to select whether the external compiler tests should be run (in case you
do not have ``gcc`` and ``gfortran`` working on your system).
Note that on some platforms you will see an error report when the script
tries to automatically close matplotlib graph windows, to the effect of:
::
"Fatal Python error: PyEval_RestoreThread: NULL tstate"
This error can be ignored. You may also have to close the plot windows
yourself before the script can continue. This will depend on your
platform and settings.
Running test suite
^^^^^^^^^^^^^^^^^^
To run test suite, install `py.test <http://www.pytest.org>`__ and
`mock <http://www.voidspace.org.uk/python/mock/>`__, using ``pip``:
::
sudo pip install py.test mock
or package manager:
::
sudo apt-get install python-pytest python-mock
Then run:
::
python setup.py test
Getting coverage report
^^^^^^^^^^^^^^^^^^^^^^^
* install ``pytest-cov``
::
sudo pip install pytest-cov
* run ``py.test``
::
py.test --cov PyDSTool --cov-report html --cov-config .coveragerc
* open file ``htmlcov/index.html`` in your browser
Credits
~~~~~~~
Coding and design by Robert Clewley, Erik Sherwood, Drew LaMar, Vladimir
Zakharov, and John Guckenheimer, except where otherwise stated in the
code or documentation. (Several other open source codes have been
redistributed here under the compatible licenses.)
--------------
.. |buildstatus| image:: https://travis-ci.org/robclewley/pydstool.svg?branch=master
.. _buildstatus: https://travis-ci.org/robclewley/pydstool
.. |coverage| image:: https://coveralls.io/repos/robclewley/pydstool/badge.png?branch=master
.. _coverage: https://coveralls.io/r/robclewley/pydstool?branch=master
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sztestlib20210724-1.0.0.tar.gz.
File metadata
- Download URL: sztestlib20210724-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc48f595e361d1193be80ab4867f983f9bfc4ed636a5aa3d9e84411ae1343256
|
|
| MD5 |
1516f43b10ead1641204bb2bce2df790
|
|
| BLAKE2b-256 |
95e7822a196564299f6dccd7b2970179285e4f8ef966af7c0dec2e9116993d8b
|
File details
Details for the file sztestlib20210724-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sztestlib20210724-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5a91a48b1f2345ea0f8369d1ac0ee0682add37587579715dd65387f4722daa1
|
|
| MD5 |
a4cc4b5f1f814367f08bdcb11dd9f226
|
|
| BLAKE2b-256 |
e3a1403215895b6f459d583d297402df553743de11ec19932fe297dbc3903e1b
|