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. Introduction and documentation are are avilable online, or in the package API docs. A Jupyter notebook interface is available at jpyEDM.

Functionality includes:


Installation

Python Package Index (PyPI)

Certain MacOS, Linux and Windows platforms are supported with prebuilt binary distributions installed from PyPI pyEDM using the Python pip module.

Command line using the Python pip module: 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 can build the cppEDM library, then install the Python package using pip. On OSX and Linux this requires g++. On Windows, mingw and 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. We do not have resources to maintain windows build support. These suggestions may be useful.
  2. Requires mingw installation.
  3. Requires gfortran libraries.
  4. Download pyEDM: git clone https://github.com/SugiharaLab/pyEDM
  5. Build cppEDM library: cd pyEDM\cppEDM\src; make
  6. Adjust paths to find gfortran and openblas libraries (pyEDM/pyEDM/etc/windows/libopenblas.a). You may need to rename libEDM.a to EDM.lib, and openblas.a to openblas.lib.
  7. Build and install package in pyEDM\: 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.15.0.0-cp311-cp311-win_amd64.whl (776.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pyEDM-1.15.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyEDM-1.15.0.0-cp311-cp311-macosx_10_9_universal2.whl (756.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

pyEDM-1.15.0.0-cp310-cp310-win_amd64.whl (774.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pyEDM-1.15.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyEDM-1.15.0.0-cp310-cp310-macosx_11_0_x86_64.whl (429.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pyEDM-1.15.0.0-cp39-cp39-win_amd64.whl (685.7 kB view details)

Uploaded CPython 3.9Windows x86-64

pyEDM-1.15.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyEDM-1.15.0.0-cp39-cp39-macosx_11_0_x86_64.whl (429.4 kB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pyEDM-1.15.0.0-cp38-cp38-win_amd64.whl (774.3 kB view details)

Uploaded CPython 3.8Windows x86-64

pyEDM-1.15.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyEDM-1.15.0.0-cp38-cp38-macosx_11_0_x86_64.whl (429.2 kB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

File details

Details for the file pyEDM-1.15.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.15.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 776.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.15.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b382330669440be1bd6b4b01a6d227ffbfd50e5ab757ea1ad638f4e06b586a60
MD5 60f51520ed248becc3534c341d10fc1b
BLAKE2b-256 74ed8f7ad27b5f669450adf6d2cef248931a44c2a9692877c5b716ff87b7a2ca

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 839bb503090e39cf44f40b66f7df9722ef853858eea02a80a3c575261883af4a
MD5 4b6bdbc37858f0f6a93ad9950a39f3c6
BLAKE2b-256 4ac134ecca99b3918957426858a16866f7fc51647371e05836c8487256f36c05

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f69569ccb7795a6eb37bb42223de8ae31f5306ec59f14c7e63eca892442567d2
MD5 6b2802a67e09fb6e687eaaad0f00fc37
BLAKE2b-256 a8e8bd346af8c7110f1a99108e20016e20b9ac007d35dc66cdbefa00e76212af

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.15.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 774.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.15.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 936d7fab184c39014bbd10fbca0016d80b2f1d677eda34e5be7d358af4251024
MD5 d7a5a06b4cf0aa01a4956030a1566dd6
BLAKE2b-256 88e14f1755b04361b64b81feebae7b7fac6177445e2fd94940732b50daca501f

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b1cf50993523753a14ac99e25c602405f333dfdd90b7f89557665eae35b603e0
MD5 bcb2c6d7d9dfcb268f0e55165666d8d5
BLAKE2b-256 6446735d0f6d7a44d394746e2de3e53805f54c2c78baa0426ec5c3d84e841910

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a3ff032b625944a9aa506f1bd542306478fca4a1101cce616d2fe8571788d915
MD5 fa6a14b97130ac004dd0d04c2e5bc6d8
BLAKE2b-256 cbb92f8fa446b2a364ff4421df02879a083c1b28dcf3a88012f090f334d2fc29

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.15.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 685.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.15.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b0938348648d4e3fd070eedf8b67a54d6def52f4f7ecef29a02c4115e5cdb589
MD5 62cbc487ba9e4085fac2a888d513565e
BLAKE2b-256 f64ef446dd7a6806dd82de6668e15c039ea52ec2561fdd561e6ea4fc76a4972c

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 477ac179724ce38713335cb496e1529d88b53b7a8f7fbb74e199c276f09ab8af
MD5 432e62dcd66453c4e476f9cda83a234c
BLAKE2b-256 f0cfce2496f3d1805e913fd3b5fb26334133efa4723e301168c16c17de724dea

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ab272bb8ebe602079e99e8e4435ceb1eeac4f7a64e27b70b2e87d755f700f954
MD5 b8ac9578be27c1a0ec76257514414875
BLAKE2b-256 e14910c24f51dd9d37b568fa065b4e60da416fd48a161612662ba48c4b496134

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.15.0.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 774.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyEDM-1.15.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 74ec00b9e44783d4e279404e90379374b846828a416445c1af165fb19a2ad3e6
MD5 d2aef1f215f12139c94db19dc7f6b04b
BLAKE2b-256 e6dbed1483cc7218fb63b0cae845fe239991c4a094c6e6074aa53bd0bb8fd70e

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f40274a4daec0822b92a09956aec9811f359dd57af0d3327498fdbb14e4673a
MD5 2602bf5d828e7206a907976f1f3e1b31
BLAKE2b-256 ec5d9f2005b8c4e07578c761923c844e000b6e7e369f441b0900f5283099e4c0

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.0.0-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.0.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 58312f5753b08f2fee7a7be3045f9384f2fa90a252684061dca414db32987c05
MD5 ae54ccb5a84da284b64751fafe45d0df
BLAKE2b-256 e424998ec50c2964467eb16ed722feb2e084852a08e310d47b831c88610f01c9

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