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
Metadata
Release files for tensor-maximum-entropy 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tensor_maximum_entropy-0.0.2.tar.gz | 7.2 kB | Without provenance | Details for tensor_maximum_entropy-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tensor_maximum_entropy-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for tensor_maximum_entropy-0.0.2-py3-none-any.whl |
Total release size: 15.9 kB
Release files / tensor_maximum_entropy-0.0.2.tar.gz
| Download URL | tensor_maximum_entropy-0.0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
538baaf9779112bf6a04eadc20ca08c9fc1e32938265ecc91515c10cb834d76c
|
|
BLAKE2b-256 checksum How to use checksums |
a6f466debba698d272616597adeeffa189dae5ebe489ea306fc112094de34ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Release files / tensor_maximum_entropy-0.0.2-py3-none-any.whl
| Download URL | tensor_maximum_entropy-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
deb27f1b3c6a41172f4ef38b9490fff22e162bafcd43c992f699f55aaf20d027
|
|
BLAKE2b-256 checksum How to use checksums |
af6067b76eb65f5e7b23e10015f16caaf946066abd7f081aca939d5f3bdd8e7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Security for tensor-maximum-entropy 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.