Python implementation of the Tensor Maximum Entropy (TME)
Project description
TME
Python implementation of Tensor Maximum Entropy (TME)
Install:
pip install tensor-maximum-entropy
Usage example:
import numpy as np
import scipy.io
from tensor_maximum_entropy import TME
model_dim = 10
data = scipy.io.loadmat('./exampleData.mat')
dataTensor = data['dataTensor']
print(dataTensor.shape)
t = data['t']
mask = np.logical_and(t > - 50, t < 350)
TME(dataTensor, mask, model_dim)
The algorithm description can be found in the following article:
Elsayed, G.F.; Cunningham, J.P. Structure in Neural Population Recordings: An Expected Byproduct of Simpler Phenomena? Nat Neurosci 2017, 20, 1310–1318, doi:10.1038/nn.4617.
A matlab implementation can be found at the following link: https://github.com/gamaleldin/TME
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 tensor_maximum_entropy-0.0.2.tar.gz.
File metadata
- Download URL: tensor_maximum_entropy-0.0.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
538baaf9779112bf6a04eadc20ca08c9fc1e32938265ecc91515c10cb834d76c
|
|
| MD5 |
0c2f2539f52b0e07b820cfaa58553164
|
|
| BLAKE2b-256 |
a6f466debba698d272616597adeeffa189dae5ebe489ea306fc112094de34ec4
|
File details
Details for the file tensor_maximum_entropy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tensor_maximum_entropy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deb27f1b3c6a41172f4ef38b9490fff22e162bafcd43c992f699f55aaf20d027
|
|
| MD5 |
e2ce970cb7a65359e346c5d486b12c64
|
|
| BLAKE2b-256 |
af6067b76eb65f5e7b23e10015f16caaf946066abd7f081aca939d5f3bdd8e7f
|