Skip to main content

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

Project description

Package Maintenance Documentation Status PyPI pyversions PyPI license PyPI version DOI

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?

  1. Please use the issue search to check if the issue has already been reportet.
  2. Try to reproduce problem using the latest master branch.
  3. 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 contribution guidelines before you do.

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

Uploaded Source

Built Distribution

mtrf-2.0.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

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

Hashes for mtrf-2.0.1.tar.gz
Algorithm Hash digest
SHA256 ce0589a9c03a6ed4457cecfcc8339891fe89357dbf41b8029ee2836fe68bdb8e
MD5 91569256586ae3e54935bf0c2b8c41d2
BLAKE2b-256 2d0ee2a7b9abcefe6c7c30dad7f5d498ce62937ea76d1151f79419f90b2a0287

See more details on using hashes here.

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

Hashes for mtrf-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b44349452d0a5751dd1743e409248a67e61c1b5d2a577af26520ba473be2f5c
MD5 87761efabf06951bc714ae60e10ae580
BLAKE2b-256 f20287ca5a1d597f4b112f6b2470291f68cf65d1ffdaaaabdb929c38d6be2bf0

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