Skip to main content

Tools for modeling brain responses using (multivariate)temporal response functions.

Project description

Package Maintenance Documentation Status PyPI pyversions PyPI license

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mtrf-1.2.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

mtrf-1.2.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file mtrf-1.2.0.tar.gz.

File metadata

  • Download URL: mtrf-1.2.0.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

Hashes for mtrf-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ea70d56132e32b391894bb2cbe4dfd267b2bc729cfddc618f9564cce9463cd97
MD5 a0ddebfd022d3e73f00c2dcf46f096d9
BLAKE2b-256 cf121c9b42705481bed55d82cc7d285549c4a0cd1b9e02fc28abf7884b003c0c

See more details on using hashes here.

File details

Details for the file mtrf-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: mtrf-1.2.0-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

Hashes for mtrf-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43e46da6966765c4839ef5f10f35aa7b9ddf5718c6aefdadd6d49ba2c981cadb
MD5 e6b74d3f79b5bd8d30508b246a48c2a5
BLAKE2b-256 4ff56b3a422afabea491f651a36a3908438453b9744eb526b5314e651c3fb23b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page