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 Eigen C++ Template Library is required to build cppEDM. It is assumed that the Eigen directory is available in the compiler INCLUDE path. If not, you can add the directory to the CFLAGS -I option in the makefile, appropriately define the INCLUDE environment variable, or, override the make command line with CFLAGS= to specify the location.

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-0.1.6-cp37-cp37m-win_amd64.whl (496.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

pyEDM-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl (531.3 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

pyEDM-0.1.6-cp36-cp36m-win_amd64.whl (497.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

pyEDM-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl (531.3 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

pyEDM-0.1.6-cp35-cp35m-win_amd64.whl (497.0 kB view details)

Uploaded CPython 3.5mWindows x86-64

pyEDM-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl (531.2 kB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

pyEDM-0.1.6-cp34-cp34m-macosx_10_13_x86_64.whl (531.1 kB view details)

Uploaded CPython 3.4mmacOS 10.13+ x86-64

pyEDM-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl (532.3 kB view details)

Uploaded CPython 2.7mmacOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 496.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6753fab59e2f9dee7558fc781ad0596ba2bf9cd4e3cd3a2fb55a31f86ae09b46
MD5 9a0ecb5b58e9b29dffd57f48e7f94b29
BLAKE2b-256 86d3fa70238a974fd322bc6717b49cdccc3ba15dac4979868e5d5cb3831408ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 531.3 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8bd907bff476df0486dd72b50904ec102298f8fcb955fcc2931123c0bc0e1ed6
MD5 b99070752e357bfbe157404e73ab07fc
BLAKE2b-256 c9bfdc1732972435f610eda1f4eb69f17dd68c07d9bbe9b57293edaeb5057598

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 497.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 53e20b601666719db7f31158d164aee69fa46df3ac78158aca0f964c563f8a78
MD5 d909702c5c816580b0b744cca04242a6
BLAKE2b-256 32aeea6ae1184ad32f942448651422141c5af88ec5e9f3161fe752a58c6273ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 531.3 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 117adf313dd8a6b757e918647e363dbc27a99687d4a3784aae02ce1b9662e893
MD5 668e5411c30a48f13ec9e9b80653c523
BLAKE2b-256 4cecfd68df710ceda8528d614bc2bd4ecfdfbdb1aec6928f6484b9d35497d008

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 497.0 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8f0b5fc723120832499f6aeef20c76e4c6ad2dbb933f6b77a5ea51539435bbfe
MD5 d4ca07017550b69bc30cd05f3b4df03a
BLAKE2b-256 8297001d71291e091cbee2c3cc9053dd5644a0e9153489f03cbb34ab2dc5d3f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 531.2 kB
  • Tags: CPython 3.5m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b491248f802b6bcc9de56af1df472c7e338d2cdda6466e71774b7da193786e22
MD5 d2a1a0f774007a4cf04b22a718ad8fcd
BLAKE2b-256 89503427337331c8767d244ca11f3117d677a5577d41123ec3a3dfe0edba8407

See more details on using hashes here.

File details

Details for the file pyEDM-0.1.6-cp34-cp34m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyEDM-0.1.6-cp34-cp34m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 531.1 kB
  • Tags: CPython 3.4m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp34-cp34m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 325c08ac1b9d12c50d2505e819c9516a1c7de258d6395783721293e43db1e658
MD5 1f440de671312bc17628701b79908a33
BLAKE2b-256 106473d92f23a6fb363d835edafc837db8dd07f6ebc0d40aac302693657c6109

See more details on using hashes here.

File details

Details for the file pyEDM-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pyEDM-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 532.3 kB
  • Tags: CPython 2.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pyEDM-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9938435edcdf7e4a19d9edef175d90aa4ea8b1c008e4fa93f92963940fb7b9ba
MD5 0673537a47b7db9ba635b6ec07237f0b
BLAKE2b-256 9786ea458ee3f53ff270adb1b14fa1ca9f6d6d61c06234b81cc72489f85042ca

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