Skip to main content

Python package for computing data-driven approximations to the Koopman operator.

Project description

Build Documentation Status PyPI

PyKoopman is a Python package for computing data-driven approximations to the Koopman operator. TODO: improve description

Installation

Installing with pip

If you are using Linux or macOS you can install PyKoopman with pip:

pip install pykoopman

Installing from source

First clone this repository:

git clone https://github.com/dynamicslab/pykoopman

Then, to install the package, run

pip install .

If you do not have pip you can instead use

python setup.py install

If you do not have root access, you should add the --user option to the above lines.

Documentation

The documentation for PyKoopman is hosted on Read the Docs.

Community guidelines

Contributing code

We welcome contributions to PyKoopman. To contribute a new feature please submit a pull request. To get started we recommend installing the packages in requirements-dev.txt via

pip install -r requirements-dev.txt

This will allow you to run unit tests and automatically format your code. To be accepted your code should conform to PEP8 and pass all unit tests. Code can be tested by invoking

pytest

We recommed using pre-commit to format your code. Once you have staged changes to commit

git add path/to/changed/file.py

you can run the following to automatically reformat your staged code

pre-commit -a -v

Note that you will then need to re-stage any changes pre-commit made to your code.

Reporting issues or bugs

If you find a bug in the code or want to request a new feature, please open an issue.

References

TODO: Add appropriate references

  • Williams, Matthew O., Ioannis G. Kevrekidis, and Clarence W. Rowley. “A data–driven approximation of the koopman operator: Extending dynamic mode decomposition.” Journal of Nonlinear Science 25, no. 6 (2015): 1307-1346. [DOI]

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

pykoopman-0.2.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykoopman-0.2.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file pykoopman-0.2.0.tar.gz.

File metadata

  • Download URL: pykoopman-0.2.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for pykoopman-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cc552580b1868a1dd1e6ac4ae748daeeb84e01b6cb4893ed499a782282cd8311
MD5 546d7b410ae42084abc527c539ba0635
BLAKE2b-256 bd55bef03725682306450e0852aecd27767deed09f955dd747f46a8078c9486a

See more details on using hashes here.

File details

Details for the file pykoopman-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pykoopman-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for pykoopman-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c222fc82266c144abd6238c698c78a7d83381036723bb3d0468064375c0f6f35
MD5 9036d85eb85eeb763af2e63c4cee8352
BLAKE2b-256 58b7ef61050e851ff421e00980370a2c7dcb0b013870ccf43a90f1136372178f

See more details on using hashes here.

Supported by

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