Tools for modeling brain responses using (multivariate)temporal response functions.
Project description
mTRFpy - multivariate linear modeling
This is an adaptation of the matlab mTRF-toolbox using only basic Python and Numpy. It aims to implement the same methods as the original toolbox and advance them. This documentation provides tutorial-like demonstrations of the core functionalities like model fitting, visualization and optimization as well as a comprehensive reference documentation.
Installation
You can get the stable release from PyPI::
pip install mtrf
Or get the latest version from this repo::
pip install git+https://github.com/powerfulbean/mTRFpy.git
While mTRFpy only depends on numpy, matplotlib is an optional dependency used to visualize models. It can also be installed via pip::
pip install matplotlib
We also provide an optional interface to MNE-Python so it might be useful to install mne as well.
Getting Started
For a little tutorial on the core features of mTRFpy, have a look at our online documentation
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
File details
Details for the file mtrf-1.2.1.tar.gz
.
File metadata
- Download URL: mtrf-1.2.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e33070f4c94390897950aa4ddf42f8cd58d3c830342abfa85516a5ad5a1023 |
|
MD5 | 4b51d5658bddea98b4c66bc9b25ead27 |
|
BLAKE2b-256 | d54391dc2f1d0a261eda3e4cb96e7722227bd6adf43bfcae0111541c7401f432 |
File details
Details for the file mtrf-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: mtrf-1.2.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ec8b74e4e9326d6300bd63b7f0e408afb1481e0ed7918331bb9f38a7a8bc35 |
|
MD5 | c3f81bc4aa33f358ab03f6d46415c9ee |
|
BLAKE2b-256 | e95986b746b73fc59b524a1890840c46479a966725abc9fd3a14e1e389a096ba |