Skip to main content

Python wrapper for cppEDM using pybind11

Project description

Empirical Dynamic Modeling (EDM)


This package provides a Python/Pandas DataFrame interface to the cppEDM library for EDM analysis. Documentation is available at pyEDM.

Functionality includes:

  • Simplex projection (Sugihara and May 1990)
  • Sequential Locally Weighted Global Linear Maps (S-map) (Sugihara 1994)
  • Multivariate embeddings (Dixon et. al. 1999)
  • Convergent cross mapping (Sugihara et. al. 2012)
  • Multiview embedding (Ye and Sugihara 2016)

Installation

Python Package Index (PyPI)

Certain Mac OSX and Windows platforms are supported with prebuilt binary distributions and can be installed using the Python pip module. The module is located at pypi.org/project/pyEDM.

Installation can be executed as: python -m pip install pyEDM

Manual Install

Unfortunately, we do not have the resources to provide pre-built binary distributions for all computer platforms. In this case the user is required to first build the cppEDM library on their machine, and then install the Python package using pip. On OSX and Linux this requires g++, on Windows, Microsoft Visual Studio Compiler (MSVC) which can be obtained from Build Tools for Visual Studio 2019. Only the Windows SDK is needed.

Note that the LAPACK library is required to build cppEDM.

OSX and Linux

  1. Download pyEDM: git clone https://github.com/SugiharaLab/pyEDM
  2. Build cppEDM library: cd pyEDM/cppEDM/src; make
  3. Build and install package: cd ../..; python -m pip install . --user --trusted-host pypi.org

Windows

  1. Download pyEDM: git clone https://github.com/SugiharaLab/pyEDM
  2. Build cppEDM library: cd pyEDM\cppEDM\src; nmake /f makefile.windows
  3. Build and install package: cd ..\..; python -m pip install . --user --trusted-host pypi.org

Usage

Example usage at the python prompt:

>>> import pyEDM
>>> pyEDM.Examples()

References

Sugihara G. and May R. 1990. Nonlinear forecasting as a way of distinguishing chaos from measurement error in time series. Nature, 344:734–741.

Sugihara G. 1994. Nonlinear forecasting for the classification of natural time series. Philosophical Transactions: Physical Sciences and Engineering, 348 (1688) : 477–495.

Dixon, P. A., M. Milicich, and G. Sugihara, 1999. Episodic fluctuations in larval supply. Science 283:1528–1530.

Sugihara G., May R., Ye H., Hsieh C., Deyle E., Fogarty M., Munch S., 2012. Detecting Causality in Complex Ecosystems. Science 338:496-500.

Ye H., and G. Sugihara, 2016. Information leverage in interconnected ecosystems: Overcoming the curse of dimensionality. Science 353:922–925.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyEDM-1.2.0.1-cp37-cp37m-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_i686.whl (4.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

pyEDM-1.2.0.1-cp37-cp37m-macosx_10_13_x86_64.whl (349.4 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

pyEDM-1.2.0.1-cp36-cp36m-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_i686.whl (4.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

pyEDM-1.2.0.1-cp36-cp36m-macosx_10_13_x86_64.whl (349.4 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

pyEDM-1.2.0.1-cp35-cp35m-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.5mWindows x86-64

pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_i686.whl (4.0 MB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ i686

pyEDM-1.2.0.1-cp35-cp35m-macosx_10_13_x86_64.whl (349.4 kB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

File details

Details for the file pyEDM-1.2.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4eea22f35b2ce9634ccd296091e32baee8737c819412558762ab7cc2accccb02
MD5 cf0f5401c36566b15d029f2427510dd0
BLAKE2b-256 3cd004dc7bfc71bb2255de94bd1833d7b969946b6f7f8c199e7fbb3dcd2321db

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b40aa1c1aca28c5fcfdbe72f78a093b18334e8a970891be23b84aedceec91a5d
MD5 e0122227fae34382e887223e33dfb803
BLAKE2b-256 7bd2e99100fa058998d5db4e7394240f33bc2bcf30d30473c581f2cb344a11f5

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9966010ad24f3975bd43127afbc1f62f6c42f269e95ac5a1228f6699963287bc
MD5 328fb443fcb72425b40f8ab85b451416
BLAKE2b-256 50de14d51279201fb6710bdeb20b12a9d625fce268bdc2f325e9259e84dc8adc

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 349.4 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4d4d78f2f80c6730f3bdef55077014acc96206cf9162c135417eb074592cbc15
MD5 e259c1ea49c856619e5a680531496712
BLAKE2b-256 e52cd9f92f519b13f20eb5120ab7da9b842f5266db112aff6a41e21df03b472c

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3475f2fdda2444e968643f7e9fdc6d22ddf8921653e20571670664108269510b
MD5 c88e1454d662cfeed36cdc401f7987f0
BLAKE2b-256 dcdcee4e218fdc424704c456664b654f441feac9658efb0bc60aadb96c6f88c6

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 87ebf0d98cba1b4e7f97d07859bfbb11ab8df855f2dd176fff0421c557fb95ef
MD5 48264c690f1bc769be6959afc6b54a60
BLAKE2b-256 c2d3f4eaa9f7bad7a1388f049c43a47b9b0fadfaf3bbc76cd564acd10e1ae85a

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_i686.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_i686.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4798c54ed48c57e4aa2099ceae4ad7b06d14b2315ec7bee174449e10e1c748a1
MD5 ea40ddfa6bbb996985339bc518f6a5c8
BLAKE2b-256 4a59946cd6cf6e6bac557d56da5ffecef5ed60df3fee207ae7ee1a28a86feaa1

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 349.4 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7400089d42418a3a370045dd2e54a2f30f0731708dcfba70ea1252e2b580202d
MD5 0bc6133854e974cfff91edcd84149cd5
BLAKE2b-256 691332a7d02799a6ca457859227a5790b217c5480de0674622858672effc7cb0

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 0df94e4ab7181b4c1c5af0126afc197ced60c41de8914d0be8979e5a03c749cb
MD5 2c90e40271fdbdfad9f6616822ac0974
BLAKE2b-256 913ee6f22e22825d7cdfa6114e1b645d7cc4b78b834b99fc5b72d059f1926567

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1bcb45cc9b9febb5d112fe8d1198c96c2e49d61097d4e526f6181045abd0e30f
MD5 1fb71742262f912460dd1db9eab4653f
BLAKE2b-256 36adbaf966ac3cb5e284df3edb09d7d0eb0d0c9f182a16daedd1a20d5461d92f

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_i686.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_i686.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp35-cp35m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 5150f2f2617a1cd0bfcfccf33ba26710da2e78fe306bf9706b777d51851061e6
MD5 65988c7cdddc6c61eb68b48774770faf
BLAKE2b-256 90acda7376c56121e8ce041b4fe9f8b923848e45e1b1e8e294a62da007f02e03

See more details on using hashes here.

File details

Details for the file pyEDM-1.2.0.1-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyEDM-1.2.0.1-cp35-cp35m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 349.4 kB
  • Tags: CPython 3.5m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for pyEDM-1.2.0.1-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8a9d14ce1e16f03c0edd80473f2ffe07a7f5108436419cd9801d4eee70be5ae6
MD5 c936236fc354804741d842c342ee8996
BLAKE2b-256 08e4556aad88f44497ad2a0a44ffa5a02d15f516633b67f5438d942a876f8508

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