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.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for mtrf-1.2.1.tar.gz
Algorithm Hash digest
SHA256 32e33070f4c94390897950aa4ddf42f8cd58d3c830342abfa85516a5ad5a1023
MD5 4b51d5658bddea98b4c66bc9b25ead27
BLAKE2b-256 d54391dc2f1d0a261eda3e4cb96e7722227bd6adf43bfcae0111541c7401f432

See more details on using hashes here.

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

Hashes for mtrf-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05ec8b74e4e9326d6300bd63b7f0e408afb1481e0ed7918331bb9f38a7a8bc35
MD5 c3f81bc4aa33f358ab03f6d46415c9ee
BLAKE2b-256 e95986b746b73fc59b524a1890840c46479a966725abc9fd3a14e1e389a096ba

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