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
Found a bug?
- Please use the issue search to check if the issue has already been reportet.
- Try to reproduce problem using the latest
master
branch. - Create an issue with a minimal example that reproduces the problem.
Missing a feature?
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
Want to contribute to the project?
Great! Please take a moment to read the before you do.
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-2.0.1.tar.gz
.
File metadata
- Download URL: mtrf-2.0.1.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0589a9c03a6ed4457cecfcc8339891fe89357dbf41b8029ee2836fe68bdb8e |
|
MD5 | 91569256586ae3e54935bf0c2b8c41d2 |
|
BLAKE2b-256 | 2d0ee2a7b9abcefe6c7c30dad7f5d498ce62937ea76d1151f79419f90b2a0287 |
File details
Details for the file mtrf-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: mtrf-2.0.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b44349452d0a5751dd1743e409248a67e61c1b5d2a577af26520ba473be2f5c |
|
MD5 | 87761efabf06951bc714ae60e10ae580 |
|
BLAKE2b-256 | f20287ca5a1d597f4b112f6b2470291f68cf65d1ffdaaaabdb929c38d6be2bf0 |