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:
- 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 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
- Download pyEDM:
git clone https://github.com/SugiharaLab/pyEDM
- Build cppEDM library:
cd pyEDM/cppEDM/src; make
- Build and install package:
cd ../..; python -m pip install . --user
Windows
- If a Windows binary is not available, these suggestions may be useful.
- mingw-w64 GCC is available in MSYS2.
- Prior to version 1.15.1, gfortran and OpenBLAS libraries are required.
- Download pyEDM:
git clone https://github.com/SugiharaLab/pyEDM
- Build cppEDM library:
cd pyEDM\cppEDM\src; make
- 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.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pyEDM-1.15.4.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c54e1d5d5364451a936463a091172f8f2aab6c63901b8de10f65060742a19cc |
|
MD5 | 5f20fdb31398cc9f72a080f49995b63b |
|
BLAKE2b-256 | 9232068fa29bcc10fa2fb14079f175060b68d22af434ed98bdf69eaeac23818c |
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 |
Hashes for pyEDM-1.15.4.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cee89c46a38abf5ea0e8f9ae4c98a464ffce305c450d714b9be505d270801a1 |
|
MD5 | 5234f184efe449334c97f044346bc170 |
|
BLAKE2b-256 | 9b3e4ab9225d06e62c1182058ffa514e3a31618c01ae60f9bafa6ca769ec730f |
Hashes for pyEDM-1.15.4.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66602f2fe6bc779de7ee6831606fde1d5fd78ef50fb30850cc5c92fabfa71d39 |
|
MD5 | 127c9ade8b16c5434acc4ffc15d45b7f |
|
BLAKE2b-256 | 5effae14e50a13539efdd762622dbb35363b6727680a3cf24d7f609d3c7ffd29 |
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 |
Hashes for pyEDM-1.15.4.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f26a9d0322ea7ec09d4da82a6ecfe74a945121b0f4806aa1febbcefa39e7f93 |
|
MD5 | dbd461a837c73c75bf569ab33864825c |
|
BLAKE2b-256 | 266ab46f2a3606d9eb756ae81ef9dcdee6594f42e9950e94b48cda06ecccbab5 |
Hashes for pyEDM-1.15.4.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9cb10339b0fc9ee8d4a03c5e5973b3913576440ec4c3f679cde67cd1977df70 |
|
MD5 | 6cdbf850216cdee131f74dbc7d2c0718 |
|
BLAKE2b-256 | 1ce6dfd589daaa39c56b19d0e12ea347c369218564bea823dddf5d829ec0d3a2 |
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 |
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 |
Hashes for pyEDM-1.15.4.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b777289f79d8d75d41f282132364e76859ecba1fdfe046bb5e4f47f1c7f380f |
|
MD5 | b944f64831f378eb7e46616374d3fa5a |
|
BLAKE2b-256 | 1d72a9c0b5c73ca41c7930b121fd4e8cbac1881f46200b891c754b772d27adb1 |
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 |
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 |
Hashes for pyEDM-1.15.4.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c539e27c2ea58db37254b221e7bc3218bbc2ada6177eb1212ae861a4fd68f7 |
|
MD5 | 0ea95a2b21bb5851b7b20bfe7488c592 |
|
BLAKE2b-256 | ad3ae70787878a23dca0ba645e41e1c677b5adf93e787588870ba2a95461a275 |
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 |
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 |