An open source implementation to compute bi-variate Transfer Entropy.
Project description
PyIF
An open source implementation to compute bi-variate Transfer Entropy.
Then from PyIF import te_compute to import the needed functions. Then all that is needed then is to call the te_compute function.
Installation
To install from pip all that is needed is run the line pip install PyIF.
To install a the development release of Py-TE run the following command
pip install -e .
Example
from PyIF import te_compute as te
import numpy as np
rand = np.random.RandomState(seed=23)
X_1000 = rand.randn(1000, 1).flatten()
Y_1000 = rand.randn(1000, 1).flatten()
TE = te.te_compute(X_1000, Y_1000, k=1, embedding=1, safetyCheck=True, GPU=False)
print(TE)
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PyIF-0.1.tar.gz.
File metadata
- Download URL: PyIF-0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52fff3f78a4deeec64775d51a01c470791c48d502572804c7591718ce6ea301
|
|
| MD5 |
78cffd8924bfea69a5e3bab5022d6dce
|
|
| BLAKE2b-256 |
d9bf5cd1a269438455d0c8fdea30f59dcf853b16d2d7e8e089d7e2bff9e6ef8b
|
File details
Details for the file PyIF-0.1-py3-none-any.whl.
File metadata
- Download URL: PyIF-0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4f64aa11ef99248f5080ff2a9062afeeeda7b4b3924a66f453170078f9881db
|
|
| MD5 |
d34978c1fdbd83e13699dbc7ec0c7bd6
|
|
| BLAKE2b-256 |
1fd991c5bcfae19e5dc1c1b96258cee8ad29695a43a25a9dc88d8a533e204128
|