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 hosted on PyPI pyEDM.

Command line using the Python pip module: python -m pip install pyEDM

Manual Install

If a pre-built binary distribution is not available the user can build the cppEDM library, then install the Python package using pip. On OSX and Linux this requires g++. On Windows, the mingw-w64 GCC is available as in MSYS2.

Note the LAPACK library is required to build cppEDM and pyEDM. As of version 1.15.1, LAPACK is not required on Windows.

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

Windows

  1. If a Windows binary is not available, these suggestions may be useful.
  2. mingw-w64 GCC is available in MSYS2.
  3. Prior to version 1.15.1, gfortran and OpenBLAS libraries are required.
  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

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.4.0-cp312-cp312-win_amd64.whl (768.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pyEDM-1.15.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyEDM-1.15.4.0-cp312-cp312-macosx_10_9_universal2.whl (759.9 kB view details)

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

pyEDM-1.15.4.0-cp311-cp311-win_amd64.whl (769.1 kB view details)

Uploaded CPython 3.11Windows x86-64

pyEDM-1.15.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyEDM-1.15.4.0-cp311-cp311-macosx_10_9_universal2.whl (755.8 kB view details)

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

pyEDM-1.15.4.0-cp310-cp310-win_amd64.whl (768.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pyEDM-1.15.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyEDM-1.15.4.0-cp310-cp310-macosx_11_0_x86_64.whl (433.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pyEDM-1.15.4.0-cp39-cp39-win_amd64.whl (687.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pyEDM-1.15.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyEDM-1.15.4.0-cp39-cp39-macosx_11_0_x86_64.whl (433.2 kB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pyEDM-1.15.4.0-cp38-cp38-win_amd64.whl (768.0 kB view details)

Uploaded CPython 3.8Windows x86-64

pyEDM-1.15.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyEDM-1.15.4.0-cp38-cp38-macosx_11_0_x86_64.whl (432.9 kB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

File details

Details for the file pyEDM-1.15.4.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyEDM-1.15.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 768.7 kB
  • Tags: CPython 3.12, 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.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8c54e1d5d5364451a936463a091172f8f2aab6c63901b8de10f65060742a19cc
MD5 5f20fdb31398cc9f72a080f49995b63b
BLAKE2b-256 9232068fa29bcc10fa2fb14079f175060b68d22af434ed98bdf69eaeac23818c

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 793fdeea9d2a7a5f7b246ade11bf688c0b3a710470b07e21becaa045418f7898
MD5 82cbc72feb3dd9b54dfebeb287e2148a
BLAKE2b-256 1fef95ee83646de83778b4d2b405a03253a04f08e6538731215ba4baa020e1e3

See more details on using hashes here.

File details

Details for the file pyEDM-1.15.4.0-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2cee89c46a38abf5ea0e8f9ae4c98a464ffce305c450d714b9be505d270801a1
MD5 5234f184efe449334c97f044346bc170
BLAKE2b-256 9b3e4ab9225d06e62c1182058ffa514e3a31618c01ae60f9bafa6ca769ec730f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.15.4.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 769.1 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.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 66602f2fe6bc779de7ee6831606fde1d5fd78ef50fb30850cc5c92fabfa71d39
MD5 127c9ade8b16c5434acc4ffc15d45b7f
BLAKE2b-256 5effae14e50a13539efdd762622dbb35363b6727680a3cf24d7f609d3c7ffd29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ae868fbd603a18ea726e154c35da876e8005d3b4b1332e2bc3e01a796fca605
MD5 e53b5a4d1e60ae0ec923e175b6222309
BLAKE2b-256 d4eebf557307f62b0b12fc3fa29f3bf7f694ea4c6193da63224573b160d08c4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7f26a9d0322ea7ec09d4da82a6ecfe74a945121b0f4806aa1febbcefa39e7f93
MD5 dbd461a837c73c75bf569ab33864825c
BLAKE2b-256 266ab46f2a3606d9eb756ae81ef9dcdee6594f42e9950e94b48cda06ecccbab5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.15.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 768.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.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f9cb10339b0fc9ee8d4a03c5e5973b3913576440ec4c3f679cde67cd1977df70
MD5 6cdbf850216cdee131f74dbc7d2c0718
BLAKE2b-256 1ce6dfd589daaa39c56b19d0e12ea347c369218564bea823dddf5d829ec0d3a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14702e9ebb44c95ae6026d6702baa5c12009741118181251ecab8d3c6a1eb1c4
MD5 fdcc5b00ddd5e5b8e1c9236cf58152fd
BLAKE2b-256 0726b19762a2e7c6537f53c1972af4dfc30d14e2be44d05760b8aa591ce7347c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a0c7244dbb37e5caa33921dd6ba05a578e448bdb388c821c556e417aab670d39
MD5 86b7bd820962e33a5b1b8e2bbe1c4be4
BLAKE2b-256 790e9b38de5dfc7d802c0c45d463556d03fd7eb51a60e4b85af9883150f50b6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.15.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 687.8 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.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5b777289f79d8d75d41f282132364e76859ecba1fdfe046bb5e4f47f1c7f380f
MD5 b944f64831f378eb7e46616374d3fa5a
BLAKE2b-256 1d72a9c0b5c73ca41c7930b121fd4e8cbac1881f46200b891c754b772d27adb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 641f7911cf1113767993a1c1a5a52cead3b2da252fd97746ee67c5a44c5a37fb
MD5 c224048c2f51b98b71632df2b37b930f
BLAKE2b-256 68c8f5da90efc3afb44f5eaaaf49f2bf93ef589a9bc04f791c42e4c8fee7edd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 95bcad27ff1513eb02ba9a4acc6929eca426a049200a6f55e3d03da3a86bae05
MD5 523b6db7512df4c263c08ad82ed0b873
BLAKE2b-256 785a57948f08fb429ee768bf58a74dfc404ecdd1199b90d4f0e49b539120d92b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyEDM-1.15.4.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 768.0 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.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 06c539e27c2ea58db37254b221e7bc3218bbc2ada6177eb1212ae861a4fd68f7
MD5 0ea95a2b21bb5851b7b20bfe7488c592
BLAKE2b-256 ad3ae70787878a23dca0ba645e41e1c677b5adf93e787588870ba2a95461a275

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1dbdaf9e3075a815ec9d607c6126c0eeb81a601b3e1104fc4318f987b87077f
MD5 559bbdc8944875d25fe4264339e9c691
BLAKE2b-256 cb97fa234f26a12ba8db416e77bb4d8f19175b1938ae4f204cba7e77b7918249

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyEDM-1.15.4.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3646561dc4b33433f95abc63dbc15955dbfb86c9e64b9d1a7dc934def1d5c97d
MD5 3378a978b53825bca65f658fdd271a47
BLAKE2b-256 b60428f2ee717dfd3390043d38b2e95b3300f972ae8ab98b906d9df7eb52b6e6

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